//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!WIDTH LUMA.w 4 *
//!HEIGHT LUMA.h 4 *
//!COMPONENTS 1
//!BIND LUMA
//!SAVE LANCZOS3
//!DESC (AU_F_4x_P) lanczos3

#define FIX(c)		max(abs(c), 1e-5)
#define PI		3.141592653

vec3 weight3(float x)
{
    vec3 s = FIX(2.0 * PI * vec3(x - 1.5, x - 0.5, x + 0.5));
    return sin(s) * sin(s / 3.0) / (s * s);
}

float line_run(float ypos, vec3 xpos1, vec3 xpos2, vec3 linetaps1, vec3 linetaps2)
{
    return float(LUMA_tex(vec2(xpos1.r, ypos))) * linetaps1.r + float(LUMA_tex(vec2(xpos1.g, ypos))) * linetaps2.r + float(LUMA_tex(vec2(xpos1.b, ypos))) * linetaps1.g + float(LUMA_tex(vec2(xpos2.r, ypos))) * linetaps2.g + float(LUMA_tex(vec2(xpos2.g, ypos))) * linetaps1.b + float(LUMA_tex(vec2(xpos2.b, ypos))) * linetaps2.b;
}

vec4 hook()
{
    vec2 pos = LUMA_pos + LUMA_pt * 0.5;
    vec2 f = fract(pos / LUMA_pt);

    vec3 linetaps1 = weight3(0.5 - f.x * 0.5);
    vec3 linetaps2 = weight3(1.0 - f.x * 0.5);
    vec3 columntaps1 = weight3(0.5 - f.y * 0.5);
    vec3 columntaps2 = weight3(1.0 - f.y * 0.5);

    float suml = dot(linetaps1, vec3(1.0)) + dot(linetaps2, vec3(1.0));
    float sumc = dot(columntaps1, vec3(1.0)) + dot(columntaps2, vec3(1.0));
    linetaps1 /= suml;
    linetaps2 /= suml;
    columntaps1 /= sumc;
    columntaps2 /= sumc;

    vec2 xystart = (-2.5 - f) * LUMA_pt + pos;
    vec3 xpos1 = vec3(xystart.x, xystart.x + LUMA_pt.x, xystart.x + LUMA_pt.x * 2.0);
    vec3 xpos2 = vec3(xystart.x + LUMA_pt.x * 3.0, xystart.x + LUMA_pt.x * 4.0, xystart.x + LUMA_pt.x * 5.0);

    return vec4(line_run(xystart.y, xpos1, xpos2, linetaps1, linetaps2) * columntaps1.r + line_run(xystart.y + LUMA_pt.y, xpos1, xpos2, linetaps1, linetaps2) * columntaps2.r + line_run(xystart.y + LUMA_pt.y * 2.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.g + line_run(xystart.y + LUMA_pt.y * 3.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.g + line_run(xystart.y + LUMA_pt.y * 4.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.b + line_run(xystart.y + LUMA_pt.y * 5.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.b, 0, 0, 0);
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE1
//!DESC (AU_F_4x_P) feature map 1

vec4 hook()
{
vec4 res = vec4(0.056273318827152,0.101188644766808,-0.555750668048859,0.173603564500809);
res += vec4(0.027163995429873,0.002533331513405,-0.034123685210943,-0.043577846139669) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.075207091867924,0.025781452655792,0.063412599265575,0.081454008817673) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.063584238290787,-0.006029849406332,0.069762535393238,-0.125684782862663) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.002847701543942,-0.035675201565027,-0.021282244473696,0.058030102401972) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.057856526225805,0.017929781228304,-0.008249324746430,0.011422592215240) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.016643783077598,0.005840926431119,0.035452585667372,0.072565361857414) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.199662849307060,-0.062315572053194,-0.076770722866058,0.108563564717770) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.112901695072651,0.106467947363853,0.233125925064087,0.359310001134872) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.203384205698967,0.157086938619614,0.300611197948456,-0.005467761773616) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.057383421808481,-0.054332599043846,-0.031718712300062,0.062492687255144) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.104666262865067,0.003861817065626,0.033146742731333,-0.146737530827522) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.475649237632751,0.693295359611511,-0.018102265894413,-0.032294437289238) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-0.505006194114685,-1.423231363296509,0.476667761802673,-1.592117071151733) * float(LUMA_texOff(vec2(0,0)));
res += vec4(-0.384541213512421,-0.179917454719543,-0.046950731426477,0.200468719005585) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.085099048912525,0.032873284071684,0.082979500293732,-0.122478298842907) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.017136514186859,0.039740584790707,0.065609961748123,0.083284735679626) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.042525120079517,-0.064218625426292,0.023709602653980,-0.036296762526035) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.599416196346283,-0.062856160104275,0.210477367043495,0.092719450592995) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.006198890507221,0.098251134157181,0.177109256386757,-0.035483490675688) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.077467501163483,-0.045272309333086,0.065513849258423,0.035750616341829) * float(LUMA_texOff(vec2(1,2)));
res += vec4(0.033482369035482,-0.046911485493183,-0.011574981734157,0.001167910988443) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.032585415989161,0.126135051250458,-0.167808040976524,0.016759332269430) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.026451407000422,0.004479352850467,0.133262470364571,-0.086441494524479) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.056841671466827,-0.039045222103596,-0.095332615077496,0.064129091799259) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.022492974996567,-0.018269548192620,-0.012330116704106,-0.011194480583072) * float(LUMA_texOff(vec2(2,2)));
res = max(res, vec4(0.0)) + vec4(0.615297555923462,0.139953777194023,0.936189413070679,-0.003462160471827) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE2
//!DESC (AU_F_4x_P) feature map 2

vec4 hook()
{
vec4 res = vec4(0.078504383563995,0.057002663612366,-0.625512480735779,-0.134472817182541);
res += vec4(-0.021046325564384,-0.025810392573476,0.031502496451139,-0.004050307907164) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.047962691634893,-0.009099860675633,-0.040298331528902,0.005473906174302) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.019934680312872,0.151081681251526,0.031929008662701,0.194737970829010) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.037141826003790,-0.085165537893772,-0.062282949686050,-0.095989346504211) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.042465686798096,0.005475210491568,0.023322608321905,-0.030192494392395) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.058733701705933,0.104565404355526,-0.091533087193966,-0.090354643762112) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.086045756936073,0.022739373147488,0.177025094628334,-0.127188220620155) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.042888995260000,0.537339568138123,-0.078739166259766,-0.042569227516651) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.086888276040554,0.207211300730705,-0.019111985340714,0.215914249420166) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.012020979076624,-0.015999412164092,-0.026831135153770,-0.089057005941868) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(0.087801836431026,-0.066702879965305,0.177085220813751,0.100191421806812) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.644968211650848,-0.196302756667137,0.864757776260376,-0.144377321004868) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.767212212085724,-0.517468810081482,-0.044719908386469,0.966292381286621) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.175211891531944,-0.034032374620438,0.055242434144020,-0.505902528762817) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.014976222999394,-0.048401281237602,-0.006851437501609,0.106032557785511) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.017120717093349,-0.004849533084780,-0.072145693004131,-0.105479240417480) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.737245500087738,0.066940404474735,0.036092866212130,0.133228689432144) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.300898373126984,-0.091458640992641,-0.037977602332830,-0.626966357231140) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.141611814498901,-0.091086789965630,-0.092139929533005,0.123481549322605) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.038562141358852,0.079643160104752,0.018193326890469,0.008055059239268) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.065879277884960,-0.010242134332657,-0.021820416674018,0.016070589423180) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.267976433038712,0.045055467635393,0.070934921503067,0.068162895739079) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.163531735539436,-0.034509759396315,-0.054585989564657,0.153390139341354) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.076265364885330,0.034100484102964,0.006897381041199,0.030372936278582) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.035810153931379,-0.027092555537820,-0.018185073509812,-0.039877183735371) * float(LUMA_texOff(vec2(2,2)));
res = max(res, vec4(0.0)) + vec4(0.050932087004185,-0.345803558826447,0.025258352980018,0.990158498287201) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE3
//!DESC (AU_F_4x_P) feature map 3

vec4 hook()
{
vec4 res = vec4(-0.214371472597122,0.210771456360817,-0.028496472164989,0.034260589629412);
res += vec4(0.016621805727482,-0.046537760645151,0.030785759910941,0.115512460470200) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.114736400544643,0.082574233412743,0.034374084323645,-0.093795336782932) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.198464363813400,-0.014551840722561,-0.027521412819624,0.019881937652826) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.106535993516445,0.063313260674477,-0.144758194684982,-0.055742595344782) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.025339230895042,-0.023705566301942,0.088980726897717,0.007002762518823) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.051037743687630,0.063455052673817,0.023175736889243,-0.139004603028297) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.105778202414513,-0.191837668418884,-0.080408990383148,0.145671948790550) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.656251072883606,0.126232802867889,0.493386000394821,-0.383655816316605) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.177021607756615,-0.355246067047119,-0.272797942161560,0.386729508638382) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.018586909398437,0.123602874577045,0.159408703446388,0.012415806762874) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.004373907111585,-0.033822655677795,0.260719120502472,0.077153928577900) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.134554699063301,0.059727348387241,-0.135139375925064,0.181372508406639) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.622282505035400,-1.051830053329468,0.117112323641777,-0.409395128488541) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.268198907375336,-0.478289872407913,-0.009110273793340,0.240898609161377) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.018034348264337,0.356687754392624,-0.206141248345375,-0.087946012616158) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.006173049099743,-0.049127437174320,0.025830240920186,-0.085728973150253) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.046750385314226,-0.012497260235250,0.007436108309776,-0.126823514699936) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.161515936255455,-0.006918907631189,-0.197701945900917,-0.165574878454208) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.044825755059719,-0.070408046245575,0.151407480239868,0.275458246469498) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.046711269766092,0.165143340826035,-0.155265405774117,0.088849492371082) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.025580720975995,0.085845381021500,-0.002354226307943,0.050684440881014) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.055997237563133,-0.120084844529629,0.017691086977720,0.028425076976418) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.179176941514015,0.140604749321938,-0.042373355478048,-0.026086917147040) * float(LUMA_texOff(vec2(2,0)));
res += vec4(-0.138798117637634,0.074198640882969,-0.094344049692154,-0.072008587419987) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.011016915552318,-0.053116351366043,0.052598327398300,0.020895043388009) * float(LUMA_texOff(vec2(2,2)));
res = max(res, vec4(0.0)) + vec4(0.758334100246429,-0.008644855581224,0.880831897258759,0.267845153808594) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!SAVE MODEL1
//!DESC (AU_F_4x_P) mapping 1_1

vec4 hook()
{
vec4 res = vec4(0.057856880128384,-0.102930553257465,-0.635047852993011,0.022708289325237);
res += mat4(0.389894902706146,-0.154278129339218,0.013086761347950,-0.185083284974098,-0.173164695501328,0.438769370317459,0.218829572200775,-0.043930977582932,0.031822133809328,-0.217095822095871,0.131287232041359,-0.076701894402504,0.281723469495773,0.344120383262634,0.151713460683823,0.159812092781067) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.280081152915955,-0.110108286142349,0.376913309097290,-0.351971983909607,0.091191060841084,-0.206224486231804,-0.034180223941803,-0.157192215323448,0.083200223743916,-0.159654706716537,0.028195437043905,-0.027254207059741,0.096443511545658,0.132070302963257,0.015386718325317,0.180310875177383) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.324683159589767,0.013748405501246,-0.056380335241556,0.010865365155041,0.205058336257935,-0.001822505029850,0.167995288968086,-0.065624371170998,-0.022158965468407,0.065098769962788,0.062153127044439,0.064166635274887,0.174042314291000,0.051888514310122,0.093531370162964,0.182285398244858) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.063555270433426,-0.289504826068878,-0.438231199979782,0.053784850984812,-0.107147917151451,-0.341211706399918,0.176792949438095,0.252800464630127,0.062021166086197,-0.363889098167419,-0.089373849332333,-0.039899509400129,-0.029047075659037,-0.010749134235084,0.392158150672913,-0.183972328901291) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.013091619126499,-0.409421592950821,-0.130693480372429,0.180234611034393,-0.000673504197039,-0.592638492584229,-0.283537477254868,-0.009956072084606,-0.283658504486084,0.228774353861809,0.413694202899933,-0.312143862247467,-0.028531365096569,-0.075169853866100,-0.089994557201862,0.320082455873489) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.132043540477753,0.377191066741943,0.107852511107922,-0.105627074837685,-0.338288813829422,0.405022174119949,-0.019319469109178,-0.216732084751129,0.042317874729633,-0.070163235068321,0.051458880305290,0.138142555952072,0.255634337663651,-0.024437163025141,0.266770154237747,-0.104944258928299) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.096125133335590,0.054609201848507,0.006831963546574,-0.080685734748840,0.007002410944551,-0.246037080883980,0.108872130513191,-0.267857521772385,0.062544248998165,-0.055553030222654,0.265740007162094,-0.097216002643108,-0.052890397608280,-0.046915512531996,0.059704441577196,0.086415730416775) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.185542091727257,0.141248360276222,0.106911823153496,0.012537402100861,-0.219525262713432,-0.051792353391647,-0.172941625118256,-0.182751595973969,-0.139802515506744,0.050823759287596,0.397149920463562,-0.112448066473007,-0.123179636895657,0.120347008109093,-0.050199598073959,-0.359209805727005) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.096088938415051,0.082615911960602,-0.040247071534395,0.058335393667221,-0.168855279684067,0.142740696668625,0.135519400238991,0.091676011681557,-0.011189576238394,-0.090629540383816,-0.040600467473269,0.050312083214521,-0.177839353680611,0.117328941822052,0.388571381568909,-0.213262617588043) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.163295984268188,-0.324850797653198,-0.000645474938210,0.117594607174397,0.080781005322933,-0.023180309683084,-0.003200131468475,0.006791223306209,0.067063011229038,-0.067539006471634,-0.434951156377792,-0.072774574160576,-0.183502122759819,-0.099117122590542,-0.037792019546032,0.044310312718153) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.061268795281649,0.406578958034515,-0.017518566921353,0.140087425708771,0.002992167137563,-0.186076924204826,0.069843240082264,-0.106685183942318,-0.544558107852936,0.036587178707123,-0.220884978771210,0.335693776607513,0.293036103248596,-0.138933032751083,-0.420057564973831,0.449508011341095) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.123200215399265,0.057839833199978,-0.080849818885326,0.323156863451004,0.013805857859552,-0.104305624961853,0.057058569043875,0.031807433813810,-0.085626892745495,-0.268334925174713,-0.312126040458679,0.241581439971924,-0.072231873869896,0.040917918086052,0.021815897896886,0.038778208196163) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.018089111894369,-0.048572137951851,0.101441942155361,-0.082023240625858,-0.169203698635101,-0.271358489990234,0.159831359982491,-0.063561186194420,0.167273446917534,-0.054452851414680,-0.159503057599068,-0.166714265942574,0.506872713565826,-0.238563522696495,-0.562438726425171,0.190943449735641) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.230944395065308,0.347893297672272,0.087037041783333,-0.018081327900290,0.348542571067810,-0.130965366959572,-0.270550280809402,0.076702199876308,0.044803641736507,0.023515980690718,-0.037332527339458,-0.285805970430374,-0.309561043977737,0.424223452806473,0.637321531772614,-0.697789430618286) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.005552594084293,-0.028864189982414,-0.002547180978581,0.199923932552338,0.026820080354810,0.134490162134171,-0.085800796747208,-0.112622059881687,-0.231272354722023,-0.016148148104548,0.534388303756714,-0.106320254504681,-0.047886349260807,-0.067475162446499,0.215544417500496,0.054307579994202) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.023732006549835,-0.017754539847374,0.170587554574013,-0.169519677758217,-0.085913822054863,0.024326154962182,0.047970611602068,0.034951061010361,-0.015904953703284,0.041037295013666,-0.145232781767845,0.061826031655073,0.096481576561928,0.016994474455714,0.011156310327351,-0.155828773975372) * FEATURE2_texOff(vec2(1,-1));
res += mat4(-0.105264142155647,0.001397072570398,0.068291202187538,0.092856653034687,0.443525522947311,0.175928056240082,-0.293011754751205,-0.008256517350674,0.170922875404358,0.101660750806332,-0.105158977210522,-0.152728706598282,-0.101918309926987,0.086497001349926,0.212573006749153,-0.058232560753822) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.048714712262154,0.022450270131230,0.126329869031906,0.016477707773447,-0.107444845139980,0.183403417468071,-0.047720789909363,-0.012685555964708,0.255811452865601,0.297536969184875,-0.034598387777805,0.038998514413834,-0.023875216022134,0.128486335277557,0.072408944368362,0.084655933082104) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.094719834625721,-0.135388195514679,-0.063446693122387,0.014865640550852,-0.085840538144112,-0.089268378913403,0.028952987864614,0.105111151933670,-0.047820944339037,0.002244074363261,-0.192993238568306,0.061497971415520,0.235723778605461,-0.251890867948532,-0.083336614072323,0.114244498312473) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.149490252137184,0.011708883568645,0.173292323946953,0.079294957220554,-0.004477857146412,-0.022955898195505,0.163063704967499,0.008397608064115,0.050284516066313,0.131952613592148,-0.011628541164100,0.074093893170357,0.017920583486557,0.320588409900665,-0.258941769599915,0.091505423188210) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.063451193273067,0.007932318374515,0.078944079577923,-0.178092554211617,-0.136034920811653,-0.069698490202427,0.150340482592583,-0.112555801868439,-0.219742462038994,0.134820312261581,-0.054869666695595,0.107242271304131,-0.294105619192123,0.129558876156807,0.023283809423447,0.049204699695110) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.399122655391693,0.141047805547714,0.126045823097229,-0.157233566045761,-0.216060265898705,0.286792844533920,-0.052104625850916,0.363064348697662,0.129297584295273,-0.177155926823616,0.209861308336258,-0.060980156064034,0.059370931237936,0.043312124907970,0.158846631646156,-0.078321911394596) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.142626449465752,0.494081050157547,0.526245176792145,-0.309996455907822,-0.261641860008240,-0.002587167313322,-0.003275621915236,0.122478514909744,0.266438245773315,-0.206104964017868,0.192219793796539,0.135565415024757,0.094607330858707,-0.011520574800670,-0.062364496290684,0.000852809986100) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.067201875150204,0.299960494041443,0.022517377510667,0.054208993911743,-0.062590502202511,0.119050018489361,0.057146143168211,-0.052790857851505,-0.001903650816530,-0.231333941221237,-0.120703168213367,0.003843819489703,0.089685842394829,0.151363283395767,-0.049702979624271,0.080909289419651) * FEATURE3_texOff(vec2(0,1));
res += mat4(0.043414156883955,0.076740071177483,-0.147333517670631,0.044077776372433,0.033728677779436,-0.116082489490509,-0.163004949688911,0.155877977609634,0.214832484722137,0.057464275509119,-0.313642203807831,-0.057979367673397,-0.153696402907372,0.160789608955383,0.215177044272423,-0.168301612138748) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.220994129776955,-0.048813659697771,-0.466448098421097,0.333554893732071,-0.005209001712501,0.047743145376444,0.058893468230963,-0.229662805795670,-0.264974057674408,0.258529752492905,0.320057749748230,-0.183986172080040,0.116945855319500,0.116854935884476,-0.218388885259628,0.020135734230280) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.104750335216522,0.072412766516209,0.149877116084099,-0.082270979881287,0.086463674902916,-0.085894450545311,0.031288180500269,0.088364727795124,-0.077340371906757,0.049953859299421,0.118108883500099,0.038362316787243,-0.390374839305878,0.138845860958099,0.348383307456970,0.040732000023127) * FEATURE3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.497519999742508,0.058784224092960,-0.011795911006629,0.514739453792572) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!SAVE MODEL2
//!DESC (AU_F_4x_P) mapping 1_2

vec4 hook()
{
vec4 res = vec4(-0.116233013570309,-0.375317335128784,0.031150845810771,0.014600822702050);
res += mat4(-0.076788924634457,-0.169890403747559,-0.024420440196991,0.016176329925656,-0.046181023120880,0.002681501908228,0.218292906880379,-0.052994582802057,0.017816163599491,-0.006572695914656,-0.105200856924057,-0.013052949681878,-0.041251458227634,0.106202088296413,0.150216504931450,0.124145306646824) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.025483133271337,0.028051704168320,-0.366708666086197,-0.078737236559391,-0.321899950504303,-0.148270830512047,0.113570928573608,0.129918366670609,-0.061731137335300,0.277807742357254,0.034648515284061,0.138488501310349,-0.231128960847855,-0.059376303106546,-0.299756228923798,-0.118029534816742) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.222253769636154,-0.006410469766706,0.157835364341736,0.041552569717169,-0.162291377782822,0.113414041697979,0.290863215923309,-0.050167690962553,-0.023423800244927,0.002460780320689,0.183294162154198,0.007199306041002,-0.006017484236509,-0.183856621384621,-0.124432101845741,-0.018017699941993) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.066261991858482,-0.064730912446976,-0.105725675821304,0.074338607490063,-0.193939507007599,-0.122237734496593,-0.070180699229240,0.049821678549051,-0.001136585487984,0.208774089813232,0.204097732901573,-0.003573761321604,0.007572621107101,-0.148487046360970,0.044385381042957,-0.015394979156554) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.405568897724152,-0.193879336118698,-0.373974353075027,0.030976254492998,-0.366117686033249,-0.288991510868073,-0.062945313751698,0.002973403548822,-0.060525931417942,0.357122033834457,0.348207771778107,0.166719198226929,-0.384759008884430,-0.056253403425217,0.099473111331463,0.060258891433477) * FEATURE1_texOff(vec2(0,0));
res += mat4(0.134780362248421,0.322454243898392,0.270093917846680,0.084926590323448,0.205518111586571,0.192903727293015,0.213361814618111,0.301619738340378,-0.075581192970276,-0.333190262317657,-0.183986410498619,-0.400001496076584,-0.054656721651554,-0.251885354518890,0.008008813485503,0.098949044942856) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.203635141253471,0.182137936353683,0.054592572152615,-0.011093143373728,0.274002492427826,-0.062102332711220,0.205423116683960,0.061306569725275,0.086820460855961,0.171413615345955,0.029225474223495,0.108331009745598,0.063814908266068,0.005241898354143,-0.205291584134102,0.367664545774460) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.027198877185583,-0.165085107088089,0.079894483089447,-0.071696385741234,0.433056443929672,0.123250231146812,-0.053923495113850,-0.010329023003578,-0.059268817305565,0.042527284473181,-0.334009975194931,0.200443625450134,0.829617321491241,0.020968342199922,0.353321790695190,-0.084374189376831) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.138305380940437,-0.063636869192123,0.022352728992701,-0.006011545658112,-0.096739381551743,-0.062763668596745,-0.039967738091946,0.034276671707630,0.137503102421761,-0.029714627191424,0.089740619063377,-0.185770884156227,-0.130397617816925,0.128423050045967,-0.184017866849899,0.030781239271164) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.037854019552469,0.103734113276005,-0.092883199453354,-0.025098308920860,0.055547095835209,0.103953242301941,-0.070719532668591,0.056342218071222,-0.001892852596939,-0.284497678279877,-0.060635760426521,0.029167309403419,-0.075349301099777,-0.212764889001846,-0.229442715644836,-0.028174804523587) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.031264055520296,0.111735559999943,-0.200082510709763,-0.287819176912308,0.035691961646080,0.106386616826057,0.103795260190964,0.123985722661018,0.013475642539561,0.176504060626030,-0.307512044906616,-0.180631622672081,0.062993288040161,-0.175519242882729,0.188007876276970,-0.306443572044373) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.000420851894887,-0.073122516274452,0.465369731187820,-0.508160352706909,-0.009128943085670,0.014177996665239,-0.180158138275146,-0.124940805137157,0.092440210282803,-0.001233046059497,-0.004397174809128,-0.076183624565601,0.031485758721828,0.063059702515602,0.217897713184357,0.095267347991467) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.004766330122948,0.148044303059578,0.068482488393784,0.065873622894287,0.121471673250198,0.094063110649586,-0.190166562795639,-0.071942299604416,0.050590716302395,-0.321750372648239,0.139370188117027,0.094845920801163,-0.054965525865555,-0.187017470598221,-0.131809219717979,-0.082346946001053) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.126341298222542,0.070612251758575,-0.151929810643196,0.130181163549423,-0.056750115007162,-0.089068204164505,0.479348599910736,0.038684807717800,0.109670959413052,0.201227858662605,0.153581246733665,-0.113365784287453,0.347020387649536,0.462103992700577,0.195727556943893,0.249120265245438) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.230217456817627,-0.385497719049454,-0.011988110840321,-0.486701428890228,0.032095078378916,-0.119974836707115,0.189609572291374,0.192466437816620,-0.391934216022491,0.672750532627106,0.427033096551895,0.467029005289078,-0.205531358718872,-0.041915170848370,-0.317905426025391,-0.165837585926056) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.060099530965090,0.035346832126379,-0.024481110274792,0.072140604257584,-0.047961693257093,-0.126105219125748,-0.056793648749590,0.148212537169456,-0.060810633003712,-0.329486250877380,-0.169233366847038,-0.003358658170328,0.167275294661522,0.267912209033966,0.103311829268932,0.083789288997650) * FEATURE2_texOff(vec2(1,-1));
res += mat4(-0.037051346153021,-0.009296830743551,-0.052827119827271,-0.083917260169983,0.552954673767090,0.209101200103760,0.291184186935425,-0.275674939155579,0.392218470573425,-0.118901237845421,0.172087758779526,-0.128298163414001,-0.258655756711960,-0.257012039422989,-0.230582922697067,0.318375438451767) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.092993892729282,0.054747313261032,-0.219761937856674,0.017567584291101,-0.008170821703970,-0.028794573619962,-0.122894138097763,0.077548123896122,0.132583364844322,-0.187707185745239,-0.423731088638306,0.226792827248573,-0.033568877726793,-0.160651564598083,-0.104655250906944,-0.316843062639236) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.030629310756922,0.154071554541588,-0.168351694941521,0.031322315335274,-0.012637122534215,0.100530073046684,0.267188549041748,0.024032633751631,-0.056034050881863,-0.050520148128271,-0.154243662953377,-0.162540197372437,0.033296521753073,-0.054307851940393,-0.162556692957878,-0.009338302537799) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(-0.010970163159072,0.072897091507912,0.208181276917458,0.032789256423712,-0.110182993113995,0.152846783399582,-0.137564778327942,0.050801161676645,0.020742965862155,0.012628843076527,-0.143606036901474,-0.062881879508495,0.105604998767376,0.099327638745308,-0.007519947364926,-0.104492574930191) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.072841361165047,-0.013717111200094,0.031640276312828,-0.052549887448549,-0.074808448553085,0.115598626434803,0.093100525438786,-0.146555751562119,0.058638706803322,0.090838521718979,0.168992355465889,0.022502599284053,-0.042407836765051,0.123613715171814,-0.043555155396461,-0.037387672811747) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.119206383824348,0.106454670429230,-0.065706834197044,0.230743050575256,-0.153052777051926,0.059250988066196,0.059321854263544,-0.056363645941019,-0.034577175974846,0.067528218030930,-0.048725817352533,0.194860517978668,-0.161583542823792,-0.100325651466846,-0.098773889243603,0.138789400458336) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.231323257088661,0.228516146540642,-0.043665520846844,0.005266212392598,-0.283726900815964,0.057166635990143,-0.067329987883568,-0.043925989419222,0.164679825305939,0.129683420062065,0.026255669072270,-0.008457593619823,-0.056929904967546,-0.311973899602890,-0.039656743407249,-0.485970944166183) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.119731284677982,0.072058968245983,-0.021896084770560,-0.268797844648361,0.017664428800344,0.058973159641027,0.083062253892422,0.239217624068260,0.022083017975092,-0.209837377071381,0.193939164280891,0.038525588810444,0.110856696963310,0.211870163679123,0.441038966178894,0.322472840547562) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.284807473421097,-0.471298038959503,0.072528973221779,0.016381541267037,-0.027138501405716,-0.145620509982109,-0.061630532145500,-0.169918477535248,0.133674696087837,-0.101018011569977,0.058823909610510,-0.043472126126289,-0.022111074998975,0.097012795507908,-0.155075296759605,0.098713032901287) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.444262146949768,-0.536844789981842,-0.262577801942825,0.119689747691154,0.293151348829269,-0.058371409773827,0.051238559186459,-0.240157559514046,0.012266146019101,0.345338165760040,0.095602072775364,0.122302249073982,0.215026795864105,-0.100975453853607,-0.141509279608727,-0.192767396569252) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.032301854342222,0.008792613632977,-0.139276683330536,-0.083255589008331,0.008659945800900,0.076864913105965,0.012264686636627,-0.052656218409538,-0.046535208821297,-0.060641303658485,0.076550468802452,-0.041266310960054,-0.146784618496895,0.052523020654917,0.130808025598526,0.249507859349251) * FEATURE3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.155703216791153,0.047926258295774,0.754693806171417,0.187885448336601) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!SAVE MODEL3
//!DESC (AU_F_4x_P) mapping 1_3

vec4 hook()
{
vec4 res = vec4(0.163783043622971,-0.101848706603050,-0.104125238955021,-0.111403279006481);
res += mat4(0.273251026868820,0.070758901536465,0.159742802381516,0.169537082314491,0.180958524346352,0.062667839229107,-0.019714051857591,0.019397621974349,0.018079869449139,0.050627551972866,0.036335673183203,0.131875351071358,-0.134130984544754,0.116782613098621,0.147269278764725,-0.189815029501915) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.361015707254410,0.387154817581177,-0.073395103216171,-0.230710610747337,-0.273744940757751,-0.228782132267952,0.186787992715836,0.255630314350128,0.019455909729004,0.180428862571716,-0.013189267367125,-0.102228134870529,0.032212838530540,-0.102220997214317,0.032106727361679,0.368544936180115) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.032808035612106,-0.141789466142654,0.213314250111580,0.030834740027785,-0.085966415703297,-0.217638805508614,-0.078001201152802,-0.236755818128586,-0.049992173910141,-0.114556089043617,0.011140206828713,0.000038489506551,-0.017901860177517,0.044603642076254,-0.086222603917122,0.170638993382454) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.192850589752197,-0.189444765448570,0.007228216622025,0.125734582543373,0.094254568219185,0.122275844216347,0.138314127922058,0.122292026877403,0.046412844210863,-0.102075077593327,-0.172658309340477,0.005476214922965,0.205351307988167,0.254133254289627,-0.297754436731339,-0.289752453565598) * FEATURE1_texOff(vec2(0,-1));
res += mat4(0.019212203100324,-0.276436030864716,-0.188408792018890,0.317281126976013,-0.027212427929044,-0.316759347915649,0.516443967819214,0.452270209789276,-0.240648597478867,0.325802445411682,-0.215641081333160,-0.374385237693787,-0.029962228611112,-0.245208024978638,0.175951033830643,0.843245387077332) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.522483766078949,0.016384569928050,-0.012295236811042,-0.266639083623886,-0.521738827228546,-0.404546469449997,-0.459754019975662,-0.660132765769958,-0.001449272735044,-0.105413787066936,-0.134428799152374,0.024740513414145,-0.058979928493500,-0.006160106975585,-0.308213919401169,0.074513792991638) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.056004632264376,0.010828392580152,0.025822130963206,0.080242663621902,-0.030328491702676,-0.070918507874012,0.022544259205461,-0.228092014789581,-0.033995103091002,0.086836881935596,0.121107392013073,-0.169401571154594,-0.226599991321564,0.000384184764698,0.062431301921606,-0.373251885175705) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.005879424512386,0.134728685021400,0.068072795867920,-0.053059499710798,-0.198077395558357,-0.126363590359688,-0.106702946126461,-0.415023624897003,0.239687442779541,0.055773653090000,-0.116156093776226,0.016970371827483,-0.125967383384705,0.072432272136211,0.046166773885489,-0.702004194259644) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.052426189184189,-0.070467658340931,0.327032059431076,0.135220363736153,-0.274068087339401,-0.219640091061592,0.053507987409830,-0.153573557734489,-0.162769481539726,0.023839289322495,0.213881015777588,-0.046278357505798,-0.060678467154503,-0.162132814526558,0.107284344732761,-0.341579049825668) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.102629654109478,0.051589984446764,-0.116968683898449,-0.134407907724380,-0.085065640509129,-0.059872977435589,0.159564897418022,-0.061324179172516,-0.089459098875523,-0.050842776894569,0.264938861131668,0.010017615742981,0.002895422047004,0.166921615600586,-0.173376634716988,0.029830168932676) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.133411571383476,0.268170505762100,0.029673038050532,0.007450756151229,0.083897128701210,0.110679954290390,0.253455251455307,0.028492331504822,-0.064282171428204,0.175008684396744,-0.112997427582741,-0.061637740582228,-0.095374569296837,-0.542447984218597,0.096345894038677,0.202302321791649) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.124352119863033,0.025740928947926,0.652091681957245,0.465460985898972,0.026506168767810,0.160967558622360,-0.072028040885925,-0.070030249655247,0.235748454928398,-0.030805295333266,0.202417388558388,-0.127297192811966,0.185627967119217,-0.131218656897545,-0.087746568024158,0.068609893321991) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.082533374428749,0.093904353678226,0.254931390285492,0.038928918540478,-0.302090585231781,-0.108778797090054,0.018351357430220,0.013901753351092,-0.284316986799240,-0.223209887742996,-0.038240749388933,0.105074584484100,0.298824757337570,-0.409439384937286,0.105231359601021,0.234827414155006) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.186111211776733,0.072634026408195,0.102638043463230,-0.170709669589996,0.169324874877930,-0.136467427015305,0.066959068179131,-0.339702934026718,-0.030851829797029,-0.136210635304451,-0.334302395582199,-0.027593720704317,-0.274374037981033,0.751235067844391,0.194051235914230,-0.579614758491516) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.221859887242317,-0.091268934309483,-0.383313685655594,0.051590323448181,0.133716955780983,-0.138234689831734,-0.020987931638956,-0.073559328913689,-0.334454983472824,-0.215433746576309,-0.195320025086403,-0.209789976477623,-0.008889713324606,0.113655112683773,-0.126271054148674,-0.030994849279523) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.045504562556744,0.151693284511566,0.174163177609444,-0.040090292692184,-0.239596009254456,-0.016735559329391,-0.063278593122959,0.191531494259834,0.005800862796605,-0.082027338445187,0.094968251883984,0.037975586950779,0.194775402545929,-0.003070252714679,0.023740286007524,-0.014225671999156) * FEATURE2_texOff(vec2(1,-1));
res += mat4(-0.005125489085913,-0.015766661614180,0.012497186660767,0.036149244755507,-0.431414902210236,0.159641146659851,-0.007751655764878,0.102282956242561,0.178750261664391,0.003425764152780,-0.156906113028526,0.310169517993927,0.187122195959091,0.108303166925907,0.134656116366386,0.166684120893478) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.061555735766888,0.034653864800930,0.327089160680771,-0.045091558247805,-0.114195220172405,-0.237496897578239,-0.012480605393648,0.189092978835106,0.223965704441071,0.009374745190144,0.112584896385670,0.159176275134087,-0.237289607524872,0.000021096075216,-0.251921892166138,-0.001563564874232) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.040297485888004,0.037351347506046,0.010039808228612,-0.009896757081151,0.042127758264542,-0.091034777462482,-0.215335726737976,-0.278688669204712,0.012092700228095,0.028805511072278,0.031181577593088,-0.064291544258595,0.085168577730656,0.163428559899330,-0.006192723754793,0.028721794486046) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(-0.122059591114521,0.097801037132740,-0.175351634621620,-0.249875724315643,0.030360471457243,0.222712561488152,0.065978534519672,0.187991753220558,-0.121802315115929,-0.139986425638199,-0.232326954603195,0.015236686915159,0.040090613067150,0.074973367154598,-0.044072136282921,-0.034314971417189) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.080947771668434,-0.043225437402725,-0.040137305855751,0.029332078993320,0.185844659805298,-0.088055446743965,-0.033002082258463,-0.051958225667477,-0.113290295004845,-0.067593313753605,-0.039926759898663,-0.209990382194519,-0.020196698606014,-0.067130997776985,-0.000576904858463,-0.093046583235264) * FEATURE3_texOff(vec2(-1,1));
res += mat4(-0.001997509738430,-0.072533018887043,-0.064846009016037,0.013584353029728,0.181618541479111,0.142221659421921,-0.222108006477356,-0.118984572589397,0.274359047412872,-0.087886184453964,-0.126008629798889,0.124478690326214,-0.335153877735138,0.021327128633857,0.177408680319786,-0.155774205923080) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.023268897086382,0.266585379838943,-0.492893338203430,-0.315266609191895,0.186173364520073,0.032071750611067,0.402706712484360,0.555419683456421,0.039240282028913,0.213734596967697,0.232357159256935,-0.162860497832298,-0.069268308579922,-0.099673084914684,-0.122208647429943,0.130688533186913) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.111984528601170,0.010975514538586,0.089363373816013,-0.184104993939400,-0.001199558726512,-0.035682551562786,-0.103339314460754,-0.098485991358757,0.150985062122345,-0.056189049035311,-0.096123963594437,0.127775326371193,-0.144565492868423,-0.085799887776375,-0.114786170423031,-0.195317670702934) * FEATURE3_texOff(vec2(0,1));
res += mat4(0.263170003890991,-0.203223273158073,-0.095784150063992,0.288394957780838,0.125191196799278,0.081896416842937,-0.138721004128456,0.106515377759933,0.067294232547283,-0.177972942590714,0.045922957360744,0.163798555731773,-0.079004630446434,0.125157058238983,0.064297474920750,-0.065863020718098) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.050477936863899,-0.628006875514984,-0.109796091914177,0.454029470682144,0.013123067095876,-0.055506251752377,0.045117124915123,-0.012119375169277,-0.209438577294350,0.321615010499954,0.180210158228874,-0.178038120269775,-0.002825712552294,-0.073848322033882,-0.150215223431587,0.135559320449829) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.058926958590746,0.048745390027761,0.163540259003639,0.070622704923153,0.126311793923378,0.051414884626865,-0.002008674899116,0.174634620547295,0.054677266627550,-0.087411098182201,0.028043186292052,-0.061532486230135,0.164848774671555,-0.189707472920418,-0.058707825839520,-0.055040899664164) * FEATURE3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.485200256109238,0.820108473300934,0.335061341524124,-0.031724043190479) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!SAVE MODEL4
//!DESC (AU_F_4x_P) mapping 2_1

vec4 hook()
{
vec4 res = vec4(0.007902535609901,0.119163453578949,0.054654505103827,0.111180879175663);
res += mat4(0.061324030160904,0.016569398343563,0.046839416027069,-0.073399916291237,-0.001374971237965,-0.006103523541242,-0.009438170120120,-0.022296950221062,0.078646130859852,0.100811325013638,-0.115444041788578,-0.097038418054581,0.292374432086945,-0.109601914882660,0.081548549234867,-0.022553708404303) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.276956051588058,-0.064556539058685,0.009479408152401,0.002472267718986,0.144854843616486,-0.063667066395283,0.095345839858055,-0.031355854123831,0.288032501935959,0.247934088110924,-0.211283072829247,0.356791257858276,0.005112199112773,0.114797495305538,-0.281632304191589,0.063897334039211) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.205311477184296,0.119963452219963,0.216321021318436,-0.017580702900887,0.047566059976816,-0.063351131975651,0.098024301230907,-0.110272832214832,-0.281092315912247,-0.148216873407364,0.121321395039558,0.099051080644131,-0.017433913424611,-0.021311357617378,-0.321274757385254,-0.243212088942528) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.048134095966816,-0.004745272919536,0.104563005268574,-0.145177111029625,-0.037299681454897,-0.035740237683058,-0.011257266625762,0.060536801815033,-0.159317582845688,0.072010889649391,-0.011440820991993,0.086580723524094,-0.194735124707222,0.024058757349849,-0.119494654238224,0.165006622672081) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.080628000199795,-0.424212962388992,0.074046865105629,-0.023762598633766,-0.042957704514265,-0.143994748592377,0.216480791568756,0.163143068552017,0.265457540750504,0.465810596942902,-0.103958450257778,0.300358027219772,-0.093796297907829,-0.122670255601406,0.343957036733627,-0.021904824301600) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.452952384948730,0.234881877899170,0.071142174303532,0.137228369712830,-0.080126404762268,-0.066580139100552,0.137807086110115,-0.180804371833801,0.023685455322266,-0.204603403806686,0.162241294980049,0.080218456685543,-0.004756537731737,0.001348000951111,0.321701914072037,-0.056554760783911) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.151354327797890,-0.365870654582977,-0.077847406268120,-0.114068627357483,-0.007187124341726,-0.150347217917442,0.006702355109155,-0.056482560932636,0.045252647250891,0.099820874631405,0.151289775967598,0.085077404975891,0.141262277960777,0.038740724325180,-0.043431609869003,-0.127695813775063) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.286169320344925,-0.156704396009445,-0.369553238153458,-0.122042112052441,-0.113586299121380,-0.208170697093010,-0.096572674810886,-0.207147434353828,-0.249030813574791,-0.045517239719629,0.087848260998726,0.190163895487785,0.011040014214814,0.177330955862999,0.015526543371379,-0.020394865423441) * MODEL1_texOff(vec2(1,0));
res += mat4(0.116062477231026,-0.166767045855522,-0.134295359253883,-0.024784868583083,0.113279245793819,0.041875895112753,-0.126070633530617,-0.770539462566376,0.073391951620579,0.086175106465816,0.119671508669853,0.085393466055393,0.079758845269680,-0.020523274317384,0.213973924517632,-0.353606700897217) * MODEL1_texOff(vec2(1,1));
res += mat4(0.118313603103161,0.117807269096375,0.190293326973915,0.162676319479942,0.078704424202442,-0.210906848311424,0.045094877481461,-0.276389062404633,0.005187359638512,0.093555681407452,-0.028502771630883,0.088213257491589,-0.273000806570053,-0.332356810569763,-0.002575577935204,0.155407220125198) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.458006888628006,0.049786068499088,0.420005947351456,-0.093070566654205,0.000199293208425,-0.214902818202972,0.051310487091541,-0.170786887407303,0.180916801095009,-0.187458202242851,0.208902806043625,-0.080286495387554,-0.116202704608440,0.194857895374298,-0.006848676595837,0.001653470331803) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.089303143322468,0.033074494451284,-0.009991054423153,0.279162019491196,-0.171375080943108,0.014940989203751,-0.002243285300210,-0.271440804004669,-0.214320093393326,0.027654111385345,0.149801060557365,-0.050469953566790,0.095589518547058,-0.031312372535467,0.006564017850906,-0.053699005395174) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.147271990776062,-0.031733926385641,0.051164131611586,0.014792175963521,0.022906906902790,-0.361656278371811,0.071378983557224,-0.148606300354004,-0.038267742842436,0.153250664472580,-0.025269510224462,-0.114951282739639,0.021951150149107,-1.071372032165527,0.066040918231010,0.001795427524485) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.223716571927071,-0.039304614067078,-0.348446518182755,0.363205403089523,0.039802379906178,0.181146204471588,0.197925448417664,0.566665649414063,0.577276945114136,-0.008416745811701,0.145963653922081,-0.022619325667620,-0.140327215194702,-0.015073126181960,0.000442340591690,-0.109627209603786) * MODEL2_texOff(vec2(0,0));
res += mat4(0.052894603461027,0.094088926911354,-0.181199878454208,0.092885226011276,0.054849039763212,-0.077219367027283,0.066606961190701,0.141110390424728,-0.094684541225433,-0.180760443210602,-0.043271046131849,0.006503004115075,-0.119984917342663,0.010061996057630,0.046530693769455,-0.001513563795015) * MODEL2_texOff(vec2(0,1));
res += mat4(0.190364956855774,-0.083217166364193,-0.051629822701216,0.099293246865273,-0.113533623516560,-0.164061486721039,0.025780128315091,-0.184439763426781,-0.010516283102334,0.206942066550255,0.014909861609340,-0.085392892360687,0.149674251675606,-0.069972112774849,-0.068256162106991,-0.044688336551189) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.196320056915283,0.032005123794079,0.022935051470995,0.257505923509598,-0.093605838716030,0.253251999616623,0.014284319244325,0.185582995414734,0.177439510822296,0.162919729948044,0.040156319737434,0.125858396291733,0.152486011385918,0.046071816235781,0.091890059411526,-0.015992829576135) * MODEL2_texOff(vec2(1,0));
res += mat4(0.009845591150224,0.170436277985573,0.009862831793725,0.024724781513214,0.137727096676826,-0.200427144765854,-0.141974017024040,0.070442155003548,-0.049926903098822,0.029186459258199,0.116118438541889,-0.109417364001274,0.018274948000908,-0.008778769522905,0.109363935887814,-0.120540447533131) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.368281453847885,-0.077377922832966,-0.096514739096165,0.064855456352234,0.159528344869614,-0.107121236622334,0.070204004645348,-0.017513191327453,0.137259960174561,-0.096703104674816,-0.245970502495766,0.009796767495573,-0.087121792137623,0.056036282330751,-0.008283738046885,0.170136511325836) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.461441129446030,0.138873755931854,-0.143602460622787,-0.023632701486349,0.234178125858307,-0.303539663553238,0.464608937501907,-0.100984685122967,-0.227516412734985,-0.049648359417915,-0.046651739627123,-0.229497373104095,-0.064048685133457,0.139566242694855,-0.151576399803162,0.652163982391357) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.025593010708690,-0.096682704985142,-0.279093950986862,-0.046306658536196,-0.157726854085922,0.126908481121063,0.159853696823120,-0.224684163928032,0.003307223785669,0.004399419762194,-0.069550469517708,-0.059423930943012,0.298835128545761,0.119780369102955,-0.017182994633913,0.231585949659348) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.430696457624435,0.215752214193344,-0.014097883366048,0.200439929962158,-0.205391094088554,-0.211653470993042,0.025950539857149,0.105668522417545,0.172922506928444,-0.154995158314705,-0.235156714916229,-0.190526291728020,0.114269055426121,-0.106727339327335,0.077495396137238,0.050764493644238) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.100911095738411,-0.111483886837959,0.208669424057007,-0.172000452876091,-0.005758863873780,0.268252432346344,-0.407552570104599,0.555968523025513,0.256042480468750,-0.115591511130333,0.350775361061096,-0.476092070341110,0.284091055393219,-0.076806455850601,-0.132501915097237,-0.327149838209152) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.127868548035622,0.109417006373405,-0.011662142351270,-0.131107747554779,0.098763495683670,-0.090679943561554,-0.093680433928967,-0.184902176260948,-0.022931940853596,-0.030422795563936,0.008820227347314,-0.122441865503788,-0.160014286637306,-0.104134142398834,-0.204105332493782,0.335686385631561) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.020157197490335,0.246589750051498,0.050593700259924,0.099302254617214,-0.025617515668273,0.168329074978828,-0.002933933166787,0.048932939767838,-0.234536066651344,-0.101830668747425,0.293623298406601,0.034828126430511,-0.052714526653290,0.206061303615570,0.034495729953051,-0.094616048038006) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.179745018482208,-0.059873223304749,-0.072604425251484,0.152430504560471,-0.018478007987142,0.051722250878811,-0.063727416098118,0.178473696112633,0.039762359112501,-0.058935306966305,0.139426127076149,-0.300905615091324,-0.023496719077229,-0.098684094846249,0.112931795418262,-0.059231717139482) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.012776048853993,0.129034310579300,0.016079457476735,-0.119285047054291,0.041345246136189,-0.007713257800788,0.182817488908768,-0.309105068445206,-0.004327253438532,-0.025931822136045,0.009191366843879,0.025256875902414,-0.216250196099281,-0.103930719196796,0.019581990316510,0.155027091503143) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.811981737613678,0.155287548899651,-0.233251869678497,-0.347386837005615) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!SAVE MODEL5
//!DESC (AU_F_4x_P) mapping 2_2

vec4 hook()
{
vec4 res = vec4(0.140746191143990,0.095361746847630,0.070506349205971,0.019337471574545);
res += mat4(-0.048093773424625,0.073294095695019,-0.023714097216725,0.205325737595558,0.040134288370609,-0.064160600304604,-0.018880039453506,0.056727327406406,-0.123920060694218,-0.007555997464806,-0.034886654466391,-0.074380531907082,-0.039067346602678,0.191884100437164,0.103221125900745,-0.259503692388535) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.101057529449463,0.217497766017914,0.156941369175911,-0.202374786138535,0.011551196686924,-0.034664086997509,-0.057894542813301,-0.059860460460186,0.061593852937222,0.002755349501967,0.150713965296745,-0.118083037436008,0.149743661284447,-0.042065925896168,-0.097828231751919,0.144634276628494) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.125353351235390,0.095762722194195,0.032473463565111,-0.108023174107075,0.056132633239031,0.165496647357941,0.045795973390341,-0.013829637318850,0.169638827443123,0.036325432360172,0.172329604625702,0.057797100394964,0.019820194691420,0.113003626465797,0.070064730942249,0.128077358007431) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.017290040850639,-0.086195386946201,0.041100978851318,-0.050664745271206,0.061460368335247,-0.139935106039047,0.042615305632353,0.038131974637508,-0.161599606275558,-0.152186706662178,-0.193305090069771,-0.089119739830494,0.032101534307003,0.349386274814606,0.028416251763701,0.094675652682781) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.151592105627060,0.528524637222290,0.080244511365891,-0.159753337502480,-0.184146225452423,-0.069050356745720,-0.192819610238075,-0.016350284218788,-0.926637232303619,-0.556639194488525,0.240126758813858,-0.091342732310295,0.579509556293488,-0.023555178195238,0.131961733102798,0.057399254292250) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.091722346842289,-0.267217338085175,-0.535856902599335,-0.141371592879295,0.247028768062592,0.132617294788361,0.334738463163376,0.008696221746504,0.484612435102463,-0.122640654444695,0.496490836143494,0.327020883560181,0.092551156878471,0.057964853942394,0.230908751487732,0.231487616896629) * MODEL1_texOff(vec2(0,1));
res += mat4(0.027462005615234,0.065509058535099,0.172704651951790,-0.396243810653687,-0.014671853743494,0.010143979452550,0.051873795688152,-0.044091239571571,0.151155710220337,0.090801887214184,0.005719356704503,0.062208298593760,0.126588955521584,-0.055158257484436,0.130045160651207,-0.019812103360891) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.227802604436874,0.021223543211818,0.143935948610306,-0.023420082405210,0.106295645236969,-0.148214504122734,-0.222596064209938,0.113637045025826,0.310781896114349,0.247234940528870,0.055518850684166,0.164195701479912,-0.098712287843227,-0.106930851936340,-0.051379568874836,-0.277090162038803) * MODEL1_texOff(vec2(1,0));
res += mat4(0.116825595498085,-0.051964677870274,-0.130719378590584,0.264537960290909,0.166272863745689,-0.077212177217007,0.020037820562720,0.166511312127113,0.251124888658524,-0.084834784269333,0.078006103634834,-0.120263367891312,-0.142099440097809,-0.078089237213135,0.206216424703598,-0.056543063372374) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.084155343472958,-0.097019873559475,-0.086279347538948,-0.143442451953888,0.204143181443214,-0.050179220736027,-0.017582304775715,0.078322328627110,-0.100565604865551,0.069330818951130,-0.094336576759815,0.334943234920502,0.153076902031898,0.095476157963276,0.127857044339180,0.095826640725136) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.159113332629204,-0.605148792266846,0.467806756496429,0.232089757919312,0.522994637489319,0.414373010396957,-0.002664563478902,0.077917136251926,-0.011033269576728,-0.119456574320793,-0.024398874491453,-0.176373571157455,0.017937405034900,-0.202413573861122,-0.484182447195053,-0.112178653478622) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.057683683931828,-0.040286231786013,-0.143736422061920,-0.056335024535656,0.099464029073715,-0.055742163211107,-0.163238510489464,-0.162530317902565,-0.008013158105314,0.076874382793903,0.091073587536812,-0.114047907292843,0.027806177735329,0.042072378098965,-0.035547427833080,0.015357539989054) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.138016864657402,-0.039096195250750,-0.016890333965421,0.015629164874554,0.243693456053734,0.020455364137888,0.155742958188057,0.091714940965176,0.086188144981861,0.077595293521881,-0.161749616265297,0.045849006623030,0.045743633061647,0.084886625409126,0.123288467526436,-0.232550397515297) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.241879031062126,0.463867992162704,-0.011127776466310,0.298935621976852,-0.449517399072647,-0.509107291698456,-0.363391458988190,-0.024658920243382,0.066670976579189,-0.591062128543854,-0.359733164310455,-0.483867019414902,-0.068458199501038,-0.404796004295349,-0.711940824985504,-0.163475319743156) * MODEL2_texOff(vec2(0,0));
res += mat4(0.016869394108653,-0.061238590627909,0.054452572017908,-0.105955608189106,-0.101519696414471,-0.289525210857391,0.035349082201719,-0.069898277521133,-0.099703624844551,0.387667119503021,0.398371577262878,0.251479059457779,-0.029889382421970,0.048650071024895,-0.040431164205074,-0.025980392470956) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.083913952112198,0.023501912131906,-0.023529032245278,-0.087893843650818,-0.000398905685870,0.085377283394337,0.049137052148581,0.206607803702354,0.083032354712486,-0.084596715867519,0.092176795005798,-0.555871546268463,-0.174328148365021,0.175513550639153,0.030260326340795,-0.418560624122620) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.118333771824837,0.135547816753387,0.023021107539535,0.131596788764000,0.003536691423506,-0.071060076355934,-0.150489211082458,-0.160006269812584,0.067398801445961,-0.181996196508408,-0.175849676132202,-0.138363957405090,-0.048340924084187,-0.124943450093269,-0.003397792344913,0.248993933200836) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.124847620725632,0.091446951031685,0.024213245138526,-0.117407478392124,-0.073002897202969,-0.078343912959099,0.021569978445768,0.011580118909478,0.070137411355972,0.010240796953440,-0.023799542337656,0.506749689579010,0.027088904753327,-0.025312641635537,0.025177700445056,0.041625667363405) * MODEL2_texOff(vec2(1,1));
res += mat4(0.117851026356220,-0.082006134092808,0.071942061185837,-0.013433663174510,-0.066070593893528,0.034227076917887,-0.076494991779327,0.111293710768223,0.094956628978252,0.045895412564278,0.004103239625692,0.042060270905495,-0.109933279454708,0.115063026547432,-0.007638703100383,-0.075362667441368) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.116746149957180,-0.050571709871292,0.027346700429916,-0.038502596318722,-0.044604636728764,0.513822615146637,0.061694215983152,-0.231667220592499,0.148956403136253,-0.026375778019428,-0.003298782976344,-0.042406927794218,-0.079580925405025,0.068058960139751,-0.112418107688427,0.017680130898952) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.071266598999500,-0.071030393242836,-0.179885700345039,0.024074304848909,0.030679153278470,-0.234202504158020,0.072598867118359,-0.111900061368942,0.190138354897499,0.022934410721064,-0.189334303140640,0.029168032109737,-0.158313021063805,-0.023465972393751,0.033629242330790,-0.017173537984490) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.114151306450367,-0.239837989211082,-0.152021586894989,-0.079315625131130,-0.180995434522629,0.074392668902874,-0.217291951179504,-0.179262623190880,0.109754562377930,0.024531658738852,0.191717430949211,-0.245129004120827,0.142632663249969,-0.227910429239273,-0.165684863924980,0.018250014632940) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.003304383950308,0.581923067569733,0.492425620555878,0.182543084025383,-0.355566829442978,-0.552838921546936,0.016582245007157,0.025048101320863,0.039444863796234,-0.194947063922882,-0.036908067762852,-0.061601828783751,0.375305682420731,-0.764915287494659,0.342675566673279,-0.072069033980370) * MODEL3_texOff(vec2(0,0));
res += mat4(0.142055332660675,-0.290942102670670,-0.393689334392548,0.014786177314818,0.217254072427750,0.217718496918678,0.423922300338745,0.172255173325539,0.153476133942604,0.150778070092201,-0.214596211910248,0.000926552282181,-0.063718356192112,0.063396379351616,-0.027290573343635,-0.348455429077148) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.062774628400803,0.042682532221079,-0.070242397487164,0.156831577420235,-0.059428542852402,0.017786439508200,-0.113951042294502,-0.237216070294380,0.073743686079979,0.108212865889072,0.154110506176949,-0.026881216093898,-0.095690079033375,0.122625961899757,-0.120534330606461,0.109429329633713) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.024582302197814,-0.198113724589348,-0.020346885547042,-0.065365739166737,-0.031071016564965,0.478672027587891,0.026004839688540,0.026940334588289,0.035809699445963,-0.201845318078995,-0.182696476578712,-0.207818388938904,0.349045872688293,-0.039037607610226,0.097914725542068,0.028204502537847) * MODEL3_texOff(vec2(1,0));
res += mat4(0.074553132057190,-0.230192273855209,-0.058336708694696,-0.233642637729645,-0.076026551425457,-0.105603992938995,0.220526933670044,0.197408854961395,-0.088237360119820,0.024399923160672,-0.129093557596207,0.128577560186386,-0.046267535537481,0.039757110178471,-0.127198889851570,-0.087107658386230) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.377387493848801,0.802334785461426,-0.389738529920578,-0.518427550792694) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!SAVE MODEL6
//!DESC (AU_F_4x_P) mapping 2_3

vec4 hook()
{
vec4 res = vec4(0.060080226510763,0.017093053087592,0.009418633766472,0.003766727400944);
res += mat4(0.113928049802780,0.017533132806420,0.033132415264845,0.016900556162000,-0.028482766821980,-0.036838721483946,-0.001015814836137,-0.049543447792530,-0.058789879083633,-0.103235743939877,0.061946269124746,-0.271792918443680,-0.130996644496918,-0.021350832656026,0.076142035424709,-0.101423323154449) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.108341433107853,0.274004399776459,-0.181877687573433,0.042114242911339,-0.004305447917432,0.119347631931305,-0.078025236725807,0.111672781407833,-0.103377476334572,-0.020382160320878,0.253427356481552,-0.256993114948273,-0.175989806652069,-0.043251667171717,0.343392699956894,-0.309435665607452) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.117683254182339,-0.089878670871258,-0.324590981006622,0.085240662097931,0.050253558903933,0.058944761753082,-0.237176403403282,-0.103179998695850,0.120223730802536,-0.128475278615952,0.037627179175615,-0.000910122704227,0.157318428158760,0.025508461520076,-0.045660328119993,0.114544846117496) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.155215352773666,0.081061825156212,-0.032375529408455,-0.083060383796692,-0.049381308257580,0.022738128900528,0.053640637546778,0.062879949808121,0.009208513423800,0.024201737716794,0.132297843694687,-0.347158253192902,-0.184101209044456,-0.065144553780556,0.038787316530943,-0.309199720621109) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.281665742397308,-0.011759642511606,-0.399371922016144,0.203274652361870,-0.587680757045746,0.046296041458845,-0.237607613205910,-0.320643126964569,0.292740434408188,-0.203983858227730,0.635194301605225,0.977478384971619,0.458096504211426,0.240788653492928,-0.207124471664429,0.643614172935486) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.345321029424667,-0.584121584892273,-0.088786713778973,-0.169076949357986,0.334043174982071,0.000798837922048,-0.297462433576584,0.029778731986880,0.140258356928825,0.335224241018295,0.271334946155548,0.196745678782463,-0.114386074244976,-0.139406293630600,-0.093718424439430,0.056630033999681) * MODEL1_texOff(vec2(0,1));
res += mat4(0.022466490045190,0.065923750400543,-0.048351414501667,0.143396317958832,0.196858555078506,0.027307793498039,-0.023836731910706,0.146047487854958,0.190300792455673,0.032107967883348,-0.056113742291927,-0.028408298268914,-0.112958781421185,0.027269087731838,-0.121951542794704,-0.029191579669714) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.018722767010331,0.190663114190102,0.233147427439690,-0.284970760345459,0.198958516120911,0.018894689157605,0.163795456290245,-0.221863582730293,0.213877648115158,0.163345813751221,-0.358020931482315,-0.042258094996214,-0.373550593852997,0.023778179660439,0.011896878480911,-0.336166083812714) * MODEL1_texOff(vec2(1,0));
res += mat4(0.010158890858293,0.026742607355118,0.048152279108763,-0.173806369304657,0.551186919212341,0.005700965877622,0.020304378122091,0.131334349513054,-0.034387677907944,0.033365931361914,-0.073070868849754,0.135594129562378,0.331235408782959,-0.028874417766929,-0.217289939522743,-0.000236912441324) * MODEL1_texOff(vec2(1,1));
res += mat4(0.094746522605419,-0.123631179332733,0.022820279002190,-0.138918504118919,-0.058661181479692,-0.132173523306847,-0.108471155166626,0.263879567384720,0.169371172785759,0.015769660472870,-0.139198482036591,-0.122670061886311,-0.065984204411507,0.119488582015038,0.042787071317434,0.145358562469482) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.052665613591671,-0.253398030996323,-0.037385098636150,0.222298353910446,-0.090887270867825,-0.042135532945395,-0.235967099666595,-0.224653422832489,-0.075014069676399,0.655151665210724,-0.151466548442841,-0.047089070081711,-0.351692229509354,0.299445569515228,0.047233905643225,0.027891429141164) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.183655843138695,0.109260946512222,-0.012623630464077,-0.040660493075848,-0.047089856117964,-0.087817579507828,-0.148389145731926,0.183704644441605,0.157370552420616,-0.373933255672455,-0.226265490055084,-0.107288412749767,0.021407850086689,0.064953245222569,0.076356947422028,0.016691051423550) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.443501591682434,0.073429264128208,0.023999145254493,0.120965115725994,-0.162062928080559,0.159091785550117,-0.135207325220108,0.053228717297316,-0.128029912710190,-0.042414691299200,0.173273473978043,-0.034190732985735,-0.422117531299591,-0.011287540197372,-0.055714361369610,0.126830592751503) * MODEL2_texOff(vec2(0,-1));
res += mat4(-1.147684216499329,-0.132558956742287,0.181923717260361,-0.601189792156219,0.033138543367386,-0.177996218204498,-0.347430318593979,0.182384014129639,0.374323010444641,0.209275692701340,-0.138402447104454,0.173131138086319,-0.072758346796036,-0.530546128749847,-0.114026620984077,-0.373648822307587) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.341495215892792,0.040223404765129,-0.031796857714653,0.063638210296631,-0.042227629572153,0.229814723134041,0.046506695449352,-0.104857131838799,0.066537797451019,-0.444710701704025,0.109569899737835,0.243655622005463,-0.052237708121538,-0.277605921030045,-0.017236545681953,0.158394798636436) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.140919044613838,-0.002193664666265,0.011889192275703,0.019776022061706,-0.085461489856243,0.089218698441982,-0.031875330954790,0.004470356274396,-0.224654287099838,-0.023885069414973,0.102456986904144,0.016709199175239,0.066776894032955,0.022559812292457,0.045457180589437,0.225615516304970) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.158982306718826,-0.115728490054607,-0.064128644764423,-0.059605736285448,-0.193301945924759,0.065905362367630,0.115574277937412,-0.073804318904877,0.170470491051674,-0.018079170957208,0.054066896438599,0.250873208045959,-0.114995859563351,0.064953245222569,0.141419738531113,-0.057115893810987) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.013667725026608,0.070537239313126,-0.064737804234028,-0.098834581673145,-0.239513754844666,-0.125915244221687,0.112775638699532,-0.175441578030586,0.048341035842896,0.117975652217865,-0.077415466308594,-0.053286340087652,0.142323046922684,0.236037343740463,-0.043661180883646,-0.013365449383855) * MODEL2_texOff(vec2(1,1));
res += mat4(0.139265149831772,0.023641755804420,0.069787986576557,-0.055217608809471,0.025534829124808,0.228904739022255,-0.134329259395599,0.160456717014313,-0.014071553014219,-0.028399858623743,0.055029958486557,0.132227346301079,-0.037913799285889,0.063610345125198,0.018617091700435,-0.117101624608040) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.162847533822060,-0.509936511516571,0.534218370914459,-0.005576400086284,-0.061686392873526,0.106461487710476,-0.545936942100525,0.128053992986679,-0.093662612140179,-0.262279570102692,0.049810487776995,0.220502570271492,-0.579837739467621,0.198313027620316,0.206633850932121,-0.398293107748032) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.187271490693092,0.098488211631775,0.126471906900406,0.126106709241867,0.134426698088646,-0.162294313311577,-0.343470156192780,0.016236236318946,0.066624693572521,0.323710322380066,0.109099641442299,0.105411253869534,-0.210075929760933,-0.000024775652491,0.094789274036884,-0.060026552528143) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.068896815180779,-0.004004851449281,0.013512649573386,-0.126060217618942,-0.270385921001434,0.046354297548532,0.103425934910774,-0.074793919920921,0.149484366178513,-0.026140529662371,0.070973128080368,0.200679644942284,0.020835485309362,-0.008626791648567,0.053559694439173,-0.335235863924026) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.027416130527854,0.117665134370327,-0.337947458028793,0.403050065040588,-0.232909530401230,-0.069246217608452,0.578722894191742,-0.616288781166077,0.301700174808502,0.170469015836716,-0.229976221919060,0.095139168202877,0.762468576431274,-0.112220659852028,0.252852290868759,0.494586139917374) * MODEL3_texOff(vec2(0,0));
res += mat4(0.081469081342220,0.167024418711662,-0.007003418169916,-0.145076319575310,0.120128765702248,-0.003851291956380,0.203642457723618,-0.237980872392654,0.009192240424454,-0.244096964597702,-0.004152714274824,-0.144765779376030,-0.335758626461029,0.053721431642771,0.005917552392930,-0.229375571012497) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.266715914011002,-0.051824677735567,0.025688409805298,-0.099525630474091,-0.048203155398369,-0.158464610576630,0.066712751984596,0.092747598886490,0.168802425265312,0.087291724979877,-0.235505253076553,0.232992261648178,0.080554589629173,-0.025387041270733,0.045517530292273,-0.088783174753189) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.148564890027046,0.071942843496799,0.132231444120407,-0.008291238918900,0.070962995290756,0.124767847359180,-0.022096836939454,-0.079105183482170,-0.014639900065958,0.085612475872040,-0.098186545073986,0.066670604050159,0.151626244187355,0.003920393995941,-0.031497266143560,0.355439186096191) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.030859714373946,-0.157790809869766,-0.017388330772519,0.090271644294262,0.215903028845787,-0.065659813582897,-0.097117282450199,0.006253575906157,0.282692193984985,-0.121792003512383,-0.124814160168171,-0.007093098014593,-0.333068758249283,-0.088203676044941,0.065966449677944,-0.031553912907839) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.104013085365295,-0.484575033187866,-0.506195485591888,0.509133040904999) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL1
//!DESC (AU_F_4x_P) mapping 3_1

vec4 hook()
{
vec4 res = vec4(-0.127505376935005,0.028479008004069,-0.091149240732193,-0.197285801172256);
res += mat4(0.288733005523682,0.232363328337669,-0.075267687439919,-0.076781310141087,-0.044053163379431,0.129252478480339,0.035477042198181,0.028203591704369,0.048555288463831,-0.048057351261377,-0.004944384098053,-0.064102239906788,0.104168951511383,0.064189076423645,0.033875778317451,0.172016978263855) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.299224644899368,0.221599057316780,-0.012262970209122,-0.031499303877354,0.126921430230141,-0.506620168685913,0.124761499464512,0.051792867481709,-0.157379209995270,-0.134654805064201,-0.178355053067207,-0.206013083457947,-0.048426244407892,-0.054574511945248,0.013943097554147,0.149600356817245) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.148695275187492,0.250504195690155,0.171283438801765,0.006748583167791,0.185852572321892,-0.275628209114075,-0.187961205840111,-0.061698701232672,0.025157162919641,-0.173066183924675,-0.086903415620327,-0.085391767323017,-0.125040277838707,-0.022706545889378,-0.105038225650787,0.053360827267170) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.122444324195385,0.106250561773777,-0.065699525177479,0.059576176106930,-0.274765133857727,0.287997663021088,-0.272981971502304,0.049367159605026,0.049775619059801,0.134131282567978,-0.297551840543747,-0.130153283476830,0.005842319689691,0.038031350821257,0.325987726449966,0.062253262847662) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.215006232261658,0.356677621603012,-0.156604126095772,0.051242660731077,-0.105514213442802,-0.501636624336243,0.433807194232941,-0.056216213852167,0.494810193777084,-0.117434687912464,0.272923886775970,0.264571636915207,-0.677615582942963,-0.106125429272652,0.238250046968460,0.003801224986091) * MODEL4_texOff(vec2(0,0));
res += mat4(0.312871366739273,0.310640752315521,0.068489514291286,-0.004281684290618,0.325662314891815,-0.247251689434052,-0.361840426921844,0.389138132333755,-0.192118898034096,-0.075258858501911,-0.085040196776390,0.039929259568453,-0.058376070111990,0.116486668586731,-0.749022185802460,-0.276114016771317) * MODEL4_texOff(vec2(0,1));
res += mat4(0.247283488512039,0.058763034641743,-0.064132831990719,-0.050580501556396,0.176786944270134,-0.057169035077095,0.008106080815196,0.021180169656873,0.140501528978348,-0.156238526105881,0.021744821220636,0.259995341300964,-0.050710503011942,-0.071965627372265,0.044624261558056,-0.104933813214302) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.271616637706757,0.207297220826149,-0.159988477826118,0.013582534156740,-0.161902785301208,0.089929826557636,0.093052156269550,-0.180543467402458,0.240180999040604,-0.336609929800034,-0.352344751358032,0.140480399131775,0.238614991307259,-0.078884415328503,-0.104310274124146,0.195684403181076) * MODEL4_texOff(vec2(1,0));
res += mat4(0.371815234422684,0.221811115741730,0.152085691690445,-0.093897268176079,0.060741163790226,-0.006812758278102,-0.101990886032581,-0.157011717557907,0.023238092660904,0.076850272715092,0.310180574655533,0.091999463737011,-0.028709216043353,0.021718917414546,0.063580550253391,-0.089749164879322) * MODEL4_texOff(vec2(1,1));
res += mat4(0.062632158398628,0.040289577096701,0.103421986103058,0.015419360250235,0.090121239423752,0.137966498732567,0.004003129899502,0.056411199271679,0.018335033208132,0.047646544873714,-0.155061453580856,-0.177669703960419,-0.353637307882309,-0.208666265010834,-0.140298619866371,-0.007505489513278) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.105599492788315,-0.142197951674461,-0.017077105119824,0.298689693212509,-0.252655535936356,0.281300634145737,0.204770386219025,0.415208995342255,-0.139205142855644,0.027096739038825,0.056136749684811,-0.267663657665253,-0.045108389109373,-0.361249357461929,-0.052835561335087,-0.076183781027794) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.006626600865275,0.167655080556870,-0.014681526459754,0.072172224521637,0.093095257878304,-0.030487323179841,-0.179214388132095,0.078800074756145,0.047995042055845,0.074310801923275,0.033780794590712,0.035667788237333,-0.234373167157173,-0.068258658051491,-0.039518773555756,-0.005649630911648) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.025384543463588,0.034544054418802,-0.075646921992302,-0.072140999138355,0.298073112964630,-0.224245488643646,0.559616327285767,0.101295731961727,0.426503896713257,0.172262057662010,-0.165621832013130,-0.248462393879890,-0.465670883655548,-0.107672818005085,-0.166229978203773,-0.137052267789841) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.314307391643524,-0.614973723888397,0.094841673970222,-0.690876483917236,0.430649012327194,0.252514958381653,-0.499446362257004,-0.247370526194572,0.414598256349564,0.204110294580460,0.495252817869186,0.192404106259346,-0.209590032696724,-0.265809774398804,0.229814708232880,-0.063207611441612) * MODEL5_texOff(vec2(0,0));
res += mat4(0.088889755308628,-0.021531743928790,-0.136307254433632,-0.225904136896133,-0.245146498084068,0.328297495841980,0.138492852449417,0.157407417893410,-0.030026931315660,0.209299296140671,0.002080122241750,0.077061526477337,-0.311867862939835,-0.133101254701614,-0.158877015113831,0.081233926117420) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.103462852537632,-0.089951753616333,0.093255944550037,-0.019733993336558,-0.017227303236723,0.060894414782524,0.196921184659004,0.040480811148882,-0.228324398398399,-0.071624279022217,-0.058175902813673,-0.068407244980335,-0.289516657590866,-0.263302057981491,-0.184694245457649,0.025194618850946) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.033410523086786,0.061307422816753,0.167721644043922,0.269932031631470,0.066199421882629,-0.315576076507568,0.032797146588564,0.446245729923248,0.002499915892258,-0.047285567969084,0.083561509847641,-0.169677883386612,-0.077036671340466,-0.189057394862175,0.110113501548767,-0.003535134019330) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.034257594496012,-0.043596334755421,-0.388574957847595,-0.071928620338440,0.155532091856003,0.067725867033005,0.045327328145504,0.041318636387587,0.025971591472626,0.137337625026703,0.063491240143776,0.021599758416414,-0.333421319723129,-0.270240873098373,0.141270637512207,-0.019481351599097) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.003198085119948,-0.031037064269185,-0.080226227641106,-0.008477413095534,-0.119757778942585,0.056150853633881,-0.047653589397669,-0.069752648472786,-0.075086377561092,-0.046887341886759,0.020883729681373,-0.032501634210348,-0.033246587961912,0.101737141609192,-0.015215693973005,0.031453907489777) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.076353728771210,0.622277379035950,0.127519428730011,0.429204225540161,-0.182848110795021,-0.074170842766762,0.055082947015762,-0.118576407432556,0.213350921869278,0.007030122913420,-0.005119169130921,-0.091480307281017,-0.087298333644867,0.255914747714996,0.210071682929993,0.357227325439453) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.156093761324883,0.002799022244290,-0.346487641334534,0.081331931054592,-0.250259816646576,-0.255239278078079,0.066208332777023,-0.044881541281939,-0.026317890733480,0.174904361367226,0.019806738942862,0.018699461594224,-0.000246095325565,0.129339471459389,0.254106402397156,0.181914821267128) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.568523526191711,-0.146557018160820,0.396030306816101,0.253538310527802,0.219356462359428,0.156607285141945,0.000560533371754,0.136375904083252,-0.100563712418079,-0.186566814780235,0.134586825966835,-0.064387276768684,0.149500414729118,-0.077272176742554,0.042917817831039,0.020998746156693) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.441339015960693,-0.181167423725128,-0.141706183552742,-0.198390275239944,0.219408735632896,0.199139907956123,0.096919782459736,0.049161069095135,-0.064145162701607,0.578813195228577,-0.382408350706100,0.257451087236404,-0.486128121614456,-0.145876511931419,-0.089782677590847,-1.040876269340515) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.291768401861191,-0.340990275144577,-0.738973855972290,-0.228286117315292,-0.219560861587524,-0.296148419380188,0.116516917943954,0.107351288199425,0.128402367234230,-0.171947687864304,0.103599660098553,0.136769667267799,-0.097380176186562,0.635730862617493,0.158835500478745,-0.190102458000183) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.079740598797798,0.161439895629883,0.293572098016739,-0.077566184103489,-0.040476016700268,0.153118580579758,0.033827751874924,0.283101886510849,-0.145570680499077,0.138609156012535,-0.175574541091919,0.108424872159958,-0.080630183219910,-0.002031473675743,-0.010658186860383,0.127466723322868) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.176578566431999,-0.043631758540869,-0.191092625260353,-0.148832008242607,0.200086608529091,0.222378224134445,-0.021284060552716,0.287910997867584,0.207040533423424,0.437768042087555,0.145169124007225,0.351354420185089,0.254104226827621,-0.004790810402483,-0.003426410723478,0.394175916910172) * MODEL6_texOff(vec2(1,0));
res += mat4(0.019905930384994,-0.106719866394997,-0.281552582979202,0.005573362577707,0.063511706888676,-0.094222776591778,0.330923259258270,0.126411408185959,0.041934814304113,0.040547769516706,-0.105677478015423,0.083202064037323,0.030303286388516,0.140825390815735,0.420887380838394,0.175121545791626) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.039713017642498,0.169002160429955,0.162069514393806,0.261144965887070) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL2
//!DESC (AU_F_4x_P) mapping 3_2

vec4 hook()
{
vec4 res = vec4(-0.245294913649559,-0.101685196161270,0.138370662927628,0.219192966818810);
res += mat4(0.051328610628843,0.017826337367296,-0.143621221184731,0.030491566285491,-0.001966373529285,-0.225336953997612,-0.202580869197845,0.017192374914885,-0.138209939002991,0.045026127249002,0.059375025331974,0.102928526699543,-0.160518437623978,-0.023186091333628,0.129045635461807,-0.011376374401152) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.027602611109614,0.193120971322060,-0.025369865819812,0.134154200553894,0.307871133089066,-0.259073197841644,-0.114951118826866,0.287461936473846,-0.101162478327751,-0.178561866283417,-0.000400794378947,-0.056218884885311,-0.043598506599665,-0.973167419433594,-0.022437566891313,-0.018961582332850) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.109386160969734,0.198887377977371,-0.139538884162903,-0.054465144872665,0.128882601857185,-0.026180896908045,-0.091706074774265,-0.127490401268005,0.082013249397278,-0.012136067263782,0.053076837211847,0.057012319564819,0.128802731633186,-0.254306018352509,0.058201786130667,0.050106532871723) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.139551863074303,-0.158178538084030,-0.138274997472763,-0.081695817410946,-0.115673273801804,0.131419911980629,0.082227401435375,0.032157436013222,0.346994072198868,-0.225339472293854,0.302281886339188,-0.169596046209335,-0.792228102684021,0.025663364678621,-0.069401457905769,-0.067010268568993) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.029410351067781,-0.124125674366951,-0.076505839824677,0.013980268500745,0.188030019402504,0.331409126520157,-0.626682400703430,-0.208679869771004,-0.509857594966888,-0.206978440284729,0.011987399309874,-0.248803406953812,0.312196761369705,0.384282857179642,-0.410695821046829,0.135052993893623) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.113726258277893,-0.075348064303398,-0.100499942898750,0.054586008191109,-0.039672710001469,0.018243342638016,-0.295765846967697,0.094632051885128,0.180520892143250,0.004552566912025,0.259254753589630,-0.049074895679951,0.403226733207703,0.084448456764221,-0.404080033302307,0.071452818810940) * MODEL4_texOff(vec2(0,1));
res += mat4(0.170326545834541,-0.147408738732338,-0.085431255400181,-0.059933852404356,0.021834237501025,0.067253723740578,0.113206595182419,0.039156280457973,-0.222085073590279,0.040478549897671,-0.007248169276863,-0.114161103963852,-0.186686381697655,0.049817129969597,0.030241340398788,-0.030994452536106) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.113889709115028,-0.104870833456516,0.046189393848181,-0.019146062433720,0.087642036378384,0.041514735668898,-0.263771206140518,0.240845993161201,-0.009462643414736,0.239910766482353,0.442814916372299,-0.385088264942169,-0.128818511962891,0.374638289213181,0.062013041228056,-0.096985906362534) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.056045819073915,-0.113608986139297,-0.151893109083176,0.069370239973068,0.020906396210194,0.106216311454773,-0.014982880093157,0.027672404423356,-0.054961748421192,0.029440104961395,0.194402575492859,-0.022301092743874,0.110976949334145,0.067180290818214,-0.071657426655293,0.030581597238779) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.047264978289604,-0.277577340602875,-0.016864551231265,-0.161578163504601,0.172273963689804,0.063649870455265,0.003198785707355,-0.040881954133511,0.235165476799011,0.213298559188843,-0.121868975460529,0.109908565878868,0.015253466553986,0.102360874414444,0.043192509561777,0.119542710483074) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.033757168799639,-0.301801532506943,0.217049449682236,-0.303624331951141,0.063147641718388,0.443398624658585,-0.290065318346024,-0.058467116206884,-0.157335117459297,0.204512953758240,0.014342294074595,0.167783662676811,-0.096724122762680,-0.214949861168861,0.122103236615658,0.027274379506707) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.079981096088886,-0.084220767021179,0.186128303408623,-0.085676744580269,0.039795745164156,0.035251244902611,-0.008216970600188,-0.069731563329697,-0.182716920971870,0.049872849136591,-0.047740817070007,-0.043456286191940,0.040625415742397,-0.141770854592323,0.172948062419891,-0.020332233980298) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.034710105508566,0.165411815047264,0.139767080545425,0.150298029184341,0.714727461338043,0.037133470177650,-0.082431972026825,-0.407734245061874,0.529061198234558,-0.222029149532318,-0.190343186259270,-0.309954106807709,0.036689545959234,-0.001089369761758,0.107217729091644,0.077388808131218) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.056757673621178,0.341581523418427,-0.633279442787170,0.329542636871338,-0.242961674928665,-0.316850125789642,-0.464822143316269,-0.239836558699608,-0.580245316028595,-0.129742652177811,0.272174537181854,-0.005477914121002,-0.073393076658249,-0.012728186324239,0.029422875493765,0.049336008727551) * MODEL5_texOff(vec2(0,0));
res += mat4(0.118339419364929,-0.010091992095113,-0.020784353837371,-0.020777013152838,0.269053876399994,0.010163509286940,0.392155855894089,-0.248938083648682,-0.059291724115610,0.014214971102774,-0.027156623080373,-0.068465948104858,0.158276930451393,0.038677003234625,-0.042048614472151,-0.086468935012817) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.119049780070782,0.059725526720285,-0.075645677745342,0.058204408735037,0.101203188300133,0.032398883253336,0.131099969148636,-0.068314351141453,0.342598587274551,-0.087611585855484,0.084874540567398,-0.019309304654598,0.062631726264954,-0.023198511451483,0.073900461196899,-0.011799811385572) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.142678022384644,-0.134476393461227,-0.153853356838226,0.182912632822990,0.014095156453550,0.039285279810429,0.136093989014626,-0.173876002430916,-0.027692848816514,-0.216746166348457,0.131602227687836,0.115477405488491,-0.015914827585220,-0.083322659134865,0.125340029597282,-0.000642082944978) * MODEL5_texOff(vec2(1,0));
res += mat4(0.064324058592319,0.022463643923402,-0.125984594225883,0.062443848699331,0.151053309440613,-0.012118727900088,0.032584086060524,-0.041754648089409,-0.075715370476246,0.025099428370595,-0.010984443128109,-0.036974836140871,-0.048306658864021,-0.194171622395515,-0.039504822343588,-0.005103312898427) * MODEL5_texOff(vec2(1,1));
res += mat4(0.011009922251105,0.044047933071852,0.068653658032417,-0.387605339288712,0.191452383995056,0.346297472715378,-0.012172701768577,0.119436882436275,-0.050795320421457,0.095296390354633,-0.099034227430820,0.001120121451095,-0.076072961091995,-0.058888677507639,0.041254028677940,-0.195587515830994) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.148364901542664,0.023570118471980,-0.237009853124619,-0.045002419501543,-0.118212029337883,0.322975963354111,-0.004062349442393,0.151948392391205,0.001960241934285,0.404620677232742,0.215423628687859,0.002927259542048,-0.002714195288718,-0.238151848316193,-0.034710481762886,-0.542457461357117) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.069757945835590,-0.030860371887684,-0.031610645353794,0.060365933924913,0.018424041569233,0.017324946820736,0.008964948356152,0.040962927043438,-0.032988838851452,0.133377239108086,0.054468650370836,0.019826352596283,0.160573661327362,0.163195133209229,0.062696889042854,-0.319572150707245) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.002271612640470,0.186655983328819,-0.042707059532404,-0.185635536909103,0.274180591106415,0.017021628096700,0.118677347898483,-0.101171612739563,0.022796053439379,0.379539191722870,-0.257534146308899,-0.022525668144226,-0.353424459695816,-0.063963808119297,-0.191242441534996,-0.045542433857918) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.029050670564175,-0.334968835115433,0.129406645894051,0.014745293185115,-0.102634467184544,0.105942480266094,0.333549588918686,-0.059875242412090,0.241321429610252,0.730289697647095,-0.309205651283264,-0.149175912141800,-0.512064993381500,-0.281627863645554,-0.267358899116516,0.736311197280884) * MODEL6_texOff(vec2(0,0));
res += mat4(0.032517038285732,-0.244406402111053,-0.347003132104874,0.311124831438065,-0.088025569915771,0.079067148268223,0.092589929699898,-0.059660319238901,-0.270913720130920,0.061100173741579,-0.046664245426655,-0.036496151238680,0.373344123363495,0.062004134058952,0.229011684656143,-0.330830186605453) * MODEL6_texOff(vec2(0,1));
res += mat4(0.098347291350365,-0.111838579177856,0.170835867524147,-0.143757328391075,0.112316079437733,-0.012129310518503,0.128233447670937,-0.185478001832962,0.141253814101219,-0.237687915563583,0.013332921080291,-0.169415831565857,0.068213410675526,0.091476775705814,0.010388056747615,-0.053675387054682) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.267782956361771,0.232639566063881,0.214114248752594,-0.340945214033127,0.048485849052668,0.036930728703737,0.281246423721313,-0.093737311661243,-0.082023657858372,-0.637433826923370,0.055104013532400,-0.068244710564613,0.107213139533997,0.295104950666428,0.085188634693623,-0.210453093051910) * MODEL6_texOff(vec2(1,0));
res += mat4(0.132315024733543,0.169466659426689,0.038036547601223,-0.051204051822424,-0.191036999225616,-0.030229110270739,0.197635322809219,-0.017411449924111,-0.070589445531368,-0.080066777765751,0.137182042002678,-0.097851358354092,0.077498093247414,-0.055996283888817,0.019970227032900,-0.104776710271835) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.161507993936539,-0.130710691213608,0.461233347654343,0.602026462554932) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL3
//!DESC (AU_F_4x_P) mapping 3_3

vec4 hook()
{
vec4 res = vec4(-0.019616529345512,0.122706651687622,-0.012462249025702,0.173574328422546);
res += mat4(0.192794770002365,-0.157075762748718,-0.055704921483994,-0.123584426939487,-0.254588663578033,-0.133381843566895,0.103667758405209,0.022217893972993,0.168491989374161,0.071056686341763,0.246394053101540,0.207879185676575,0.035355187952518,0.069212049245834,-0.009825682267547,0.080900974571705) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.304452568292618,-0.198764353990555,-0.012426485307515,-0.069859661161900,0.100021995604038,0.151422321796417,0.069370590150356,-0.139509543776512,-0.191546633839607,0.023581394925714,-0.208460211753845,0.040849804878235,0.005081993993372,0.295647621154785,-0.008396202698350,-0.108651295304298) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.411571830511093,-0.152050897479057,0.171137019991875,-0.030203444883227,-0.014251490123570,-0.276309758424759,-0.100184522569180,0.036902785301208,0.035057004541159,0.102393023669720,0.001296789385378,0.052937243133783,0.180284395813942,0.053408473730087,-0.124936275184155,-0.093082882463932) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.295960396528244,-0.080845184624195,-0.089209370315075,-0.143751695752144,-0.116791680455208,-0.224045693874359,0.457503139972687,0.131240233778954,0.141142070293427,0.025562305003405,0.347212404012680,-0.230074137449265,0.075339861214161,-0.155648782849312,-0.155148983001709,-0.020958812907338) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.223345696926117,-0.108072519302368,-0.154894620180130,-0.030051071196795,0.299284726381302,0.405680269002914,-0.092269785702229,0.160362064838409,-0.192305848002434,-0.346828252077103,-0.374241262674332,-0.250753879547119,0.229160204529762,0.303509742021561,-0.296033173799515,0.353858560323715) * MODEL4_texOff(vec2(0,0));
res += mat4(0.343169480562210,-0.253298252820969,0.199079647660255,-0.256998956203461,-0.035477004945278,-0.235278740525246,0.072570823132992,0.199573084712029,0.011144950985909,0.208439081907272,0.015605658292770,-0.145083352923393,0.044957559555769,0.212195754051208,-0.116576224565506,-0.023414520546794) * MODEL4_texOff(vec2(0,1));
res += mat4(0.262070327997208,0.015520424582064,-0.155006751418114,-0.082406729459763,0.097260482609272,-0.065211221575737,-0.016861062496901,0.008742078207433,0.080973803997040,0.090888977050781,-0.008517784066498,0.155603170394897,-0.037555661052465,-0.077326931059361,0.001031160820276,-0.020729400217533) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.240787968039513,-0.051990680396557,-0.088044784963131,0.046952161937952,-0.072701282799244,0.028310593217611,-0.099200814962387,-0.062155611813068,0.148722544312477,0.143429517745972,0.260512024164200,0.189778283238411,0.107232861220837,0.017329074442387,0.141884535551071,0.029138443991542) * MODEL4_texOff(vec2(1,0));
res += mat4(0.275236994028091,-0.034836448729038,0.219076409935951,-0.051433525979519,-0.072807431221008,-0.121751792728901,0.168412759900093,0.052146699279547,-0.054959673434496,-0.024697763845325,-0.390487670898438,0.036171738058329,-0.021770453080535,-0.045588623732328,-0.238632678985596,0.001307493308559) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.114659838378429,-0.017971878871322,0.146689355373383,-0.013841780833900,0.036000862717628,-0.027261085808277,0.045098077505827,-0.020568620413542,-0.051943555474281,-0.105836570262909,-0.148182407021523,0.036748029291630,-0.293388456106186,0.121274426579475,-0.195006892085075,0.138004601001740) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.157460212707520,0.127158060669899,0.033315058797598,-0.103509217500687,0.182084590196609,-0.092257790267467,-0.190716445446014,0.504402518272400,0.020551040768623,-0.324994146823883,0.184483945369720,0.220699653029442,-0.790030360221863,0.166065335273743,0.011683010496199,0.014744188636541) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.130792334675789,0.088539443910122,-0.300012201070786,0.008406140841544,-0.143299788236618,0.134031161665916,-0.119682244956493,0.096183344721794,0.027784006670117,-0.163110554218292,0.095170252025127,0.117353253066540,-0.303194701671600,0.272441834211349,-0.068284645676613,0.024435991421342) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.003285859245807,-0.081127375364304,0.325507521629333,0.000042906944145,0.169474199414253,0.120329745113850,-0.299696147441864,-0.179189562797546,-0.038174912333488,-0.210918799042702,-0.271105915307999,-0.170481801033020,-0.387901246547699,0.101380348205566,-0.064324028789997,0.060149241238832) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.009894871152937,0.156925633549690,0.392192184925079,-0.031215380877256,-0.168182879686356,-0.449102461338043,0.125135332345963,-0.683555424213409,-0.142196819186211,-0.903431177139282,0.430557996034622,-0.247978255152702,-0.421925783157349,0.062052030116320,0.071125254034996,-0.021346522495151) * MODEL5_texOff(vec2(0,0));
res += mat4(0.072696939110756,-0.012470120564103,-0.812555015087128,-0.016957586631179,-0.084966287016869,0.231048047542572,0.075261130928993,-0.034186471253633,-0.035531844943762,-0.240314632654190,0.416332572698593,0.083814933896065,-0.258745312690735,0.124872706830502,-0.079553499817848,0.119752071797848) * MODEL5_texOff(vec2(0,1));
res += mat4(0.125465914607048,-0.025685580447316,0.103156991302967,-0.028904899954796,-0.073009118437767,0.117440678179264,-0.121078506112099,0.029249053448439,0.122180715203285,0.013087318278849,-0.073516309261322,0.180098637938499,-0.122239276766777,0.145678162574768,-0.070758454501629,0.063550047576427) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.033622287213802,0.003829370485619,-0.068906486034393,0.130969405174255,0.090433180332184,0.164037346839905,0.093077644705772,0.572931647300720,-0.041364345699549,0.118511758744717,0.201073780655861,-0.133240848779678,-0.272054940462112,0.136256411671638,0.046738762408495,0.003652360988781) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.104349561035633,0.067317090928555,-0.207243502140045,0.045787345618010,0.217676237225533,-0.092099934816360,-0.042150072753429,0.051193799823523,0.024931725114584,-0.001270022010431,0.152906373143196,-0.024506889283657,-0.347211569547653,0.135721698403358,0.139290481805801,0.104297496378422) * MODEL5_texOff(vec2(1,1));
res += mat4(0.025649167597294,-0.032162379473448,0.186348468065262,-0.031209666281939,-0.098211660981178,-0.106036633253098,-0.245069473981857,0.143352672457695,-0.152808830142021,0.046614859253168,-0.084266863763332,-0.087636560201645,0.242588013410568,-0.071527153253555,-0.015568531118333,0.045482560992241) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.060541961342096,0.011988176964223,-0.179472357034683,-0.200691789388657,-0.251007169485092,-0.116536729037762,0.059493344277143,0.109580084681511,0.017246106639504,-0.077555686235428,0.087445460259914,-0.043577261269093,0.009372881613672,0.002746526850387,-0.056880708783865,-0.173366367816925) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.141562968492508,-0.003162967506796,0.129176497459412,-0.322928041219711,-0.131634101271629,-0.009280976839364,0.126634106040001,0.137532800436020,0.116430945694447,0.012689183466136,-0.028585044667125,-0.042380366474390,-0.153807178139687,0.044101133942604,-0.201933413743973,0.092997707426548) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.125335693359375,-0.031170394271612,-0.220497459173203,-0.062889173626900,-0.333540916442871,-0.060159467160702,-0.073276028037071,0.056485153734684,-0.051402121782303,0.173779070377350,-0.201755851507187,-0.165226802229881,0.041074272245169,-0.056042801588774,0.020312560722232,0.065836675465107) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.203959435224533,-0.079071395099163,0.431243419647217,0.196483537554741,-0.620369613170624,-0.023084165528417,0.033247269690037,0.025495879352093,0.075987502932549,-0.150219917297363,0.180275171995163,0.002086283871904,0.097921945154667,0.261155962944031,0.228503718972206,-0.103944428265095) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.188967719674110,0.178377091884613,-0.192673817276955,0.025922661647201,-0.065032869577408,-0.014586900360882,0.299445360898972,0.123788446187973,-0.023323863744736,0.028689844533801,0.073680311441422,-0.038087703287601,0.109278239309788,-0.055048730224371,-0.789848566055298,-0.097161941230297) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.182368442416191,0.028608381748199,-0.172728538513184,-0.178192570805550,-0.183503523468971,-0.085063099861145,-0.054795887321234,-0.076404534280300,-0.012821978889406,0.073447756469250,-0.001082403585315,-0.226943910121918,-0.098690994083881,-0.017833963036537,0.002084029838443,0.081014879047871) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.093406118452549,0.004619341809303,0.136215746402740,-0.460926562547684,-0.191061601042747,-0.244276314973831,-0.097447350621223,0.046624843031168,-0.215154930949211,-0.117540493607521,-0.183474943041801,-0.470068871974945,0.052732624113560,-0.070786342024803,-0.126834020018578,0.092366360127926) * MODEL6_texOff(vec2(1,0));
res += mat4(0.203979849815369,0.142775699496269,-0.087712138891220,-0.274882286787033,-0.160304501652718,-0.106023758649826,0.269813746213913,-0.092635616660118,-0.036013528704643,0.056580722332001,0.230673849582672,-0.313629835844040,0.042535033077002,-0.173263996839523,0.117286220192909,0.302361726760864) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.345697551965714,-0.083636738359928,-0.011613168753684,0.051181457936764) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!SAVE MODEL4
//!DESC (AU_F_4x_P) mapping 4_1

vec4 hook()
{
vec4 res = vec4(-0.001063551288098,-0.204284518957138,-0.183830991387367,-0.352517604827881);
res += mat4(0.017108375206590,-0.173584789037704,-0.116419181227684,-0.056901045143604,-0.000817023566924,-0.231059312820435,-0.158049091696739,0.101301617920399,-0.060959991067648,-0.067267119884491,0.010329516604543,0.075357556343079,-0.012783928774297,0.016294054687023,0.018521590158343,0.162300765514374) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.007265480700880,-0.147562757134438,-0.045945499092340,-0.071262754499912,0.000903589127120,0.107929490506649,0.008603880181909,0.302787899971008,-0.002421062206849,0.143366068601608,0.207432076334953,-0.010740351863205,-0.222473263740540,-0.063833676278591,-0.126344919204712,0.500773012638092) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.030843211337924,-0.178807631134987,-0.172968566417694,0.012967404909432,0.026986066251993,-0.017206037417054,-0.135625347495079,0.039634946733713,0.016619050875306,0.048940308392048,-0.027942681685090,-0.056613437831402,-0.092888116836548,0.014445813372731,0.081399999558926,0.159770295023918) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.006168167572469,-0.072339229285717,-0.220074012875557,-0.133761644363403,-0.037570685148239,-0.268627643585205,0.035889793187380,-0.049430195242167,-0.247008398175240,0.432325094938278,-0.291312485933304,-0.070064932107925,0.077713169157505,0.031425088644028,-0.127173766493797,-0.106748938560486) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.024861067533493,-0.095523044466972,0.088369950652122,0.120072178542614,0.002946816617623,0.473877608776093,0.203182771801949,-0.177658885717392,0.206738233566284,-0.510825574398041,0.056056510657072,-0.093248814344406,0.212834537029266,-0.097489677369595,0.361831814050674,-0.187149316072464) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.010121482424438,0.040411885827780,-0.082140274345875,0.043630030006170,0.095072627067566,-0.160067468881607,-0.170974627137184,-0.085931725800037,-0.007625537458807,0.148959130048752,0.220505774021149,-0.059149660170078,0.019902685657144,0.073830753564835,-0.233282700181007,-0.037821669131517) * MODEL1_texOff(vec2(0,1));
res += mat4(0.030663307756186,-0.150492548942566,-0.130295008420944,-0.022908324375749,-0.032952994108200,-0.008044466376305,-0.088560178875923,-0.005139125511050,-0.044550109654665,0.252033352851868,0.141307801008224,-0.027779722586274,0.027433199808002,0.048119999468327,0.046688396483660,-0.040065713226795) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.003339262213558,-0.126344278454781,-0.095846019685268,0.008077388629317,0.009171201847494,0.096023112535477,0.040096405893564,0.003124278271571,0.017412312328815,-0.134296506643295,-0.041392695158720,-0.028056040406227,-0.077402561903000,0.048139665275812,-0.053693417459726,-0.066758506000042) * MODEL1_texOff(vec2(1,0));
res += mat4(0.031434077769518,-0.128464356064796,-0.080632992088795,-0.000444139674073,0.037802714854479,-0.246731787919998,-0.181931793689728,0.002763803349808,-0.004415953066200,-0.109667703509331,0.073007635772228,-0.015133243985474,-0.012695397250354,-0.012195543386042,0.062521919608116,-0.023141616955400) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.009034433402121,-0.026202656328678,-0.023006234318018,-0.002988763852045,0.012206439860165,0.071756653487682,-0.051844108849764,-0.118960313498974,-0.023917837068439,-0.047637071460485,-0.078614972531796,-0.002517874352634,-0.036637868732214,-0.048718091100454,0.037725064903498,-0.267248511314392) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.008144140243530,0.046487201005220,-0.095338195562363,0.117241576313972,0.055068239569664,-0.136366054415703,0.079152591526508,-0.687411665916443,-0.045159310102463,0.155487045645714,0.139124080538750,-0.042276844382286,-0.037860203534365,-0.136806651949883,-0.087375789880753,-0.225791767239571) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.034340430051088,0.153125450015068,0.185702547430992,0.027261266484857,0.023943280801177,0.061027258634567,-0.053099509328604,-0.040369153022766,-0.006180915981531,0.036687005311251,-0.006103043910116,-0.027621403336525,-0.079942263662815,0.207326158881187,0.073212981224060,0.061529725790024) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.050115663558245,-0.165181279182434,0.150130540132523,-0.062488138675690,-0.046166159212589,-0.178802400827408,-0.006124068517238,0.083902947604656,-0.203804343938828,-0.169556587934494,0.080710582435131,-0.099465228617191,0.027741331607103,-0.040649335831404,0.156615287065506,-0.166961714625359) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.233219265937805,0.392732530832291,-0.112478718161583,-0.053149733692408,0.087498366832733,0.223533183336258,-0.088248670101166,0.252130806446075,0.183269947767258,0.453890532255173,0.153356477618217,-0.222326099872589,-0.117544151842594,-0.335582822561264,-0.195260822772980,-0.195243433117867) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.214338615536690,0.406869739294052,0.559208512306213,-0.007058545481414,-0.000942402170040,0.012428555637598,0.177545204758644,-0.016253739595413,0.000784536125138,-0.000798293040134,-0.109627828001976,-0.038847461342812,0.150863885879517,0.406544715166092,0.282256156206131,-0.052713658660650) * MODEL2_texOff(vec2(0,1));
res += mat4(0.010988919995725,-0.060147080570459,-0.038816187530756,-0.014225578866899,-0.022795882076025,-0.075929842889309,-0.061632111668587,-0.084640696644783,0.006668175570667,-0.063044413924217,-0.002256975974888,-0.019408734515309,0.019763914868236,-0.002823740709573,0.069619290530682,0.035287886857986) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.000796048436314,0.258174389600754,-0.010279000736773,-0.056021146476269,-0.135097891092300,-0.102620117366314,0.090866275131702,0.036554668098688,0.062398128211498,0.069367565214634,0.110070131719112,-0.080540195107460,0.111724324524403,0.132355749607086,-0.140926107764244,-0.076941348612309) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.049569796770811,0.148122668266296,0.251461833715439,-0.039390288293362,-0.022554520517588,-0.000761701259762,-0.036743026226759,-0.030263254418969,0.058226116001606,0.024853006005287,-0.027872214093804,0.001091987127438,0.018723718822002,-0.064275361597538,0.265588402748108,-0.023572852835059) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.028851103037596,-0.107732675969601,-0.115119002759457,0.093065008521080,0.016385532915592,-0.013083724305034,0.079594433307648,-0.261457413434982,0.034067291766405,0.027300359681249,0.063548207283020,0.020270410925150,0.005643968936056,-0.055140174925327,0.052631102502346,-0.091940045356750) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.018870294094086,0.046625591814518,-0.029049539938569,0.019790796563029,-0.031188169494271,0.062680095434189,-0.059381585568190,0.047495923936367,0.002167862141505,-0.000254951562965,-0.006511911749840,-0.193079695105553,-0.076317273080349,0.242843106389046,0.022116634994745,0.081966698169708) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.019240533933043,-0.028585620224476,0.013996944762766,-0.197609186172485,0.007960382848978,-0.085299544036388,0.007247671484947,0.068024344742298,-0.002215473679826,-0.127501964569092,-0.008710680529475,-0.126920595765114,-0.014109126292169,-0.163790389895439,-0.026166202500463,0.019887292757630) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.009960415773094,0.065319336950779,0.088456235826015,-0.210530623793602,-0.024231836199760,0.272127628326416,-0.197200939059258,0.000554442231078,0.078382886946201,-0.012356298044324,0.327150166034698,-0.046255677938461,-0.053898368030787,0.096685975790024,0.152617245912552,0.201411768794060) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.021164484322071,0.030332162976265,0.019339138641953,-0.091370895504951,0.066428512334824,-0.202362135052681,-0.164465159177780,-0.117677167057991,-0.085801959037781,0.440649747848511,-1.003569841384888,0.062214910984039,0.074304655194283,0.079148046672344,0.039309706538916,0.566178619861603) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.002355000469834,-0.071793287992477,0.058622486889362,0.041147723793983,0.021071564406157,-0.308064639568329,0.035217750817537,-0.055312991142273,-0.001296278205700,-0.164813339710236,-0.100796483457088,0.011542170308530,0.000180373579497,-0.011720992624760,-0.135207861661911,0.024503486230969) * MODEL3_texOff(vec2(0,1));
res += mat4(0.031149474903941,-0.065730370581150,0.013871058821678,0.054772067815065,-0.014239284209907,0.000721566262655,0.075664684176445,0.044004473835230,0.022126924246550,0.017785601317883,0.141192868351936,-0.035128567367792,-0.023506768047810,0.070606335997581,-0.052713457494974,0.084817767143250) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.005485665518790,0.026744559407234,-0.048879548907280,0.111134938895702,0.020760111510754,-0.092082768678665,-0.042751323431730,0.066265836358070,0.014653045684099,-0.191799864172935,-0.287059187889099,0.038765374571085,-0.002153701614588,0.023693062365055,0.128983229398727,0.158170521259308) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.027414033189416,0.002755100373179,0.107373923063278,0.029923452064395,0.054517764598131,-0.011829630471766,-0.065043114125729,-0.014921505935490,-0.014617391861975,-0.014412612654269,-0.145859777927399,-0.001343789161183,0.006714074872434,0.015757059678435,-0.024067517369986,0.084915667772293) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(1.008100032806396,0.056351259350777,0.014320693910122,-0.006850216537714) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!SAVE MODEL5
//!DESC (AU_F_4x_P) mapping 4_2

vec4 hook()
{
vec4 res = vec4(-0.191490083932877,-0.168758615851402,-0.209225833415985,-0.221242904663086);
res += mat4(0.110214836895466,-0.163921549916267,0.112449109554291,-0.000531425874215,0.019178833812475,-0.239808082580566,0.069354072213173,0.066153436899185,0.265093892812729,-0.029441215097904,0.268735498189926,-0.048130918294191,-0.011315194889903,0.032105524092913,0.072999790310860,0.122059702873230) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.069976225495338,-0.052911639213562,0.138361036777496,-0.007383334450424,0.013854581862688,-0.065162703394890,-0.041572820395231,0.108685642480850,-0.058442063629627,0.132837712764740,-0.030955731868744,-0.141211092472076,0.074015982449055,0.055784780532122,-0.027909977361560,-0.007237416692078) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.035133231431246,-0.131107807159424,-0.054433751851320,0.061475206166506,0.062463037669659,-0.140926331281662,0.016596142202616,-0.083581060171127,-0.009011293761432,0.033729460090399,0.100301876664162,0.112362205982208,-0.090065531432629,0.018935386091471,-0.107711777091026,-0.037947315722704) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.074917711317539,-0.085910886526108,-0.056120596826077,0.072629965841770,-0.055760715156794,-0.161682233214378,-0.010217585600913,0.089047819375992,0.294605970382690,0.533247232437134,-0.410985857248306,0.115085698664188,-0.034940261393785,-0.002566103823483,-0.143305748701096,-0.053078856319189) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.062884017825127,0.141735494136810,0.318860441446304,0.512984514236450,0.756955027580261,0.018327238038182,0.440162867307663,-0.164403438568115,-0.354744851589203,0.700459480285645,0.013063741847873,0.009610977955163,0.077062398195267,0.125976175069809,0.370285600423813,-0.141122922301292) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.053725674748421,-0.237904101610184,0.127915814518929,0.123483173549175,-0.189824983477592,0.117862902581692,-0.008703627623618,0.150273561477661,0.101701177656651,-0.065961085259914,0.205651059746742,-0.055908471345901,-0.040693473070860,-0.121965296566486,-0.046422045677900,0.100110791623592) * MODEL1_texOff(vec2(0,1));
res += mat4(0.000735608336981,-0.188211888074875,0.057288184762001,0.086539946496487,0.032594121992588,-0.036197416484356,-0.105075314640999,-0.111785203218460,0.056227002292871,0.157335355877876,0.049848202615976,0.024651750922203,0.107540138065815,0.029900556430221,0.069642163813114,-0.091373287141323) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.003804177744314,0.024138659238815,0.067115753889084,-0.060516670346260,0.016133731231093,-0.038592997938395,0.057787388563156,-0.003594179404899,0.129654139280319,-0.003827885724604,0.238933488726616,0.047903940081596,-0.165624052286148,-0.006655554752797,-0.094002865254879,0.378390133380890) * MODEL1_texOff(vec2(1,0));
res += mat4(0.143574386835098,-0.228953018784523,0.149887233972549,-0.024650167673826,0.088375315070152,-0.222026258707047,0.043318524956703,0.080669365823269,0.070105127990246,0.058967236429453,-0.066434636712074,0.012433467432857,0.039408966898918,0.065674081444740,0.025155110284686,0.063778415322304) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.129654943943024,-0.090178832411766,-0.108034506440163,-0.010810204781592,-0.011879395693541,-0.079638965427876,-0.112343706190586,-0.090130701661110,-0.050669591873884,-0.053183805197477,-0.091413736343384,-0.159297406673431,-0.028852829709649,-0.070988737046719,-0.019919162616134,-0.024505158886313) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.023347523063421,-0.209355220198631,0.081703878939152,0.045758683234453,-0.009038278833032,0.046974178403616,0.026285171508789,-0.356040477752686,-0.048473846167326,0.097258754074574,0.049416344612837,-0.203085035085678,0.028008922934532,-0.090029664337635,-0.076751545071602,0.009343942627311) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.135588496923447,0.222375154495239,0.024464892223477,-0.162006020545959,-0.079626560211182,0.020422222092748,0.049558099359274,-0.016094023361802,0.014433048665524,-0.023255251348019,-0.087185457348824,-0.109890632331371,0.008497427217662,0.079143635928631,0.214905634522438,-0.046719454228878) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.215078979730606,0.046746250241995,0.083600699901581,0.005819785874337,-0.010837393812835,-0.029287906363606,0.010703876614571,0.149854347109795,-0.041795048862696,0.116395734250546,0.026526760309935,0.134768024086952,-0.034345284104347,0.068726196885109,0.137324720621109,0.010968002490699) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.716175556182861,-0.643073379993439,-0.006996712181717,-0.341097444295883,-0.313233196735382,-0.195359781384468,0.011127204634249,0.590318024158478,0.165513455867767,-0.396939158439636,0.071824826300144,0.321237653493881,0.047131601721048,-0.271279901266098,-0.231225296854973,-0.372969269752502) * MODEL2_texOff(vec2(0,0));
res += mat4(0.278500199317932,0.546761691570282,0.141813337802887,0.269532203674316,0.006559290923178,0.126468434929848,-0.118693143129349,0.014713547192514,-0.031529940664768,0.113427117466927,-0.054133526980877,0.005026562139392,0.114854581654072,0.175081670284271,0.391140341758728,-0.014988448470831) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.060679439455271,0.046708464622498,-0.020437905564904,-0.109241932630539,-0.112664550542831,-0.092227511107922,-0.038630504161119,0.094633363187313,-0.096864342689514,0.050976842641830,-0.087170183658600,-0.098598815500736,0.043304201215506,0.066002085804939,0.179236352443695,-0.016295496374369) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.201210841536522,0.035690434277058,-0.200928896665573,0.095144428312778,0.038737531751394,0.288982301950455,-0.150241151452065,0.148405805230141,0.085267007350922,0.132294058799744,-0.060479447245598,-0.039577051997185,-0.142422348260880,-0.013202028349042,0.147893711924553,0.280225872993469) * MODEL2_texOff(vec2(1,0));
res += mat4(0.113246381282806,0.218809276819229,0.272320538759232,-0.044338263571262,-0.073010995984077,-0.107147328555584,0.059644311666489,0.052244596183300,-0.015198322944343,-0.082532458007336,-0.035606879740953,-0.012186860665679,0.286357283592224,0.065727613866329,-0.093843929469585,0.268358170986176) * MODEL2_texOff(vec2(1,1));
res += mat4(0.029072444885969,0.058523129671812,0.064008034765720,0.087875895202160,0.062898322939873,0.026045640930533,0.148952394723892,0.014870375394821,-0.031417220830917,0.138237178325653,-0.079335235059261,-0.080806210637093,0.031885940581560,0.058595936745405,0.058601256459951,0.029929835349321) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.149323344230652,-0.008670910261571,-0.139395758509636,-0.005199515260756,-0.048945419490337,0.162374660372734,0.037672996520996,0.178974702954292,-0.154530853033066,0.046297188848257,-0.126615658402443,0.016358945518732,-0.034497708082199,-0.000222955975914,0.027498871088028,0.372376918792725) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.123527124524117,-0.036187350749969,0.087750740349293,-0.084177829325199,0.079848550260067,-0.124865047633648,0.010449932888150,0.006610244046897,-0.019473332911730,-0.002160622971132,-0.141976162791252,-0.086792618036270,-0.045798584818840,-0.032311804592609,-0.121842294931412,-0.022981014102697) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.048582982271910,0.100862659513950,-0.256274044513702,-0.200016096234322,0.095736794173717,0.008608722127974,-0.009489884600043,0.023024452850223,-0.205771446228027,0.243839234113693,0.238079905509949,0.071208544075489,-0.017680523917079,0.050306085497141,0.052749853581190,-0.195932731032372) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.283922821283340,-0.031314581632614,-0.051324624568224,-0.257660597562790,-0.030292475596070,-0.034636981785297,-0.163927510380745,-0.234629988670349,0.313163518905640,-0.404587894678116,-0.655424714088440,-0.192015230655670,0.089616470038891,-0.044888798147440,-0.188433378934860,-0.081734858453274) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.030115107074380,-0.003044588258490,-0.102204218506813,0.039201535284519,-0.281541347503662,0.159562826156616,0.032371588051319,-0.069928020238876,-0.158076763153076,0.142573937773705,-0.089907728135586,-0.028130443766713,-0.127594113349915,-0.021266862750053,0.019434889778495,-0.276102185249329) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.185656473040581,0.052472278475761,0.042604669928551,0.116107337176800,0.296776235103607,-0.201823413372040,0.016808360815048,-0.142251655459404,0.069293744862080,0.178979426622391,0.031454153358936,-0.034374836832285,-0.120368175208569,0.002096352865919,-0.147443950176239,-0.033901896327734) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.022617438808084,-0.080271974205971,-0.346885174512863,0.022068312391639,-0.073831960558891,-0.032521534711123,0.021381616592407,-0.077966406941414,0.105697318911552,-0.276688516139984,-0.210150554776192,-0.066261284053326,0.053079478442669,-0.076728858053684,0.214735612273216,-0.442567914724350) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.237448498606682,0.035609465092421,0.043448776006699,-0.174967467784882,-0.211745187640190,-0.031230418011546,0.004211478866637,-0.091357588768005,-0.098294883966446,-0.091466851532459,-0.030802059918642,-0.048353292047977,-0.062260918319225,-0.026532366871834,-0.138499513268471,-0.019663354381919) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.131415486335754,0.030357105657458,0.030620321631432,-0.031662888824940) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!SAVE MODEL6
//!DESC (AU_F_4x_P) mapping 4_3

vec4 hook()
{
vec4 res = vec4(-0.033499278128147,-0.109900839626789,0.035686891525984,-0.287853956222534);
res += mat4(-0.103192977607250,-0.050950434058905,0.121202617883682,-0.007443279959261,-0.008549803867936,0.140945255756378,-0.033768087625504,-0.064554572105408,-0.076790682971478,0.105205558240414,-0.027537595480680,0.008010643534362,-0.007936793379486,-0.075198732316494,0.117399238049984,-0.036844290792942) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.130197197198868,-0.055253908038139,0.261268109083176,-0.007779030594975,0.160001099109650,-0.024650443345308,-0.370847225189209,-0.065314680337906,0.027231302112341,0.077398471534252,-0.076973557472229,-0.017514208331704,-0.109656758606434,-0.029363766312599,0.467182487249374,0.032910738140345) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.035230502486229,-0.033338755369186,-0.050044961273670,-0.001517555443570,0.009702152572572,0.026874313130975,-0.058903705328703,0.025581620633602,0.057251367717981,-0.067491531372070,-0.047009259462357,-0.015325910411775,0.047066699713469,-0.048019625246525,0.038458701223135,-0.000925801286940) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.137252420186996,-0.509639620780945,-0.121146999299526,-0.083303056657314,-0.146842375397682,0.372567385435104,-0.072680324316025,0.064782269299030,0.079795271158218,0.149427101016045,-0.243290111422539,-0.044256392866373,0.342200130224228,-0.036854505538940,0.027808360755444,0.138698548078537) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.018708687275648,0.628271460533142,-0.244283989071846,-0.160108029842377,-0.232521533966064,-0.128887131810188,0.434089422225952,0.328023880720139,-0.243641749024391,0.359646648168564,0.097943730652332,0.074061416089535,0.110981702804565,0.115198232233524,0.645446360111237,0.291135519742966) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.076176300644875,-0.387235969305038,-0.019432419911027,-0.170463234186172,-0.053733170032501,0.275446116924286,0.019111910834908,-0.049764085561037,-0.059706397354603,-0.193868070840836,-0.113607540726662,-0.138540536165237,0.201176226139069,-0.285831689834595,0.054659407585859,0.361367404460907) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.222181722521782,-0.007251734379679,0.005937681999058,-0.085733443498611,-0.037737697362900,-0.089692793786526,-0.018599793314934,-0.074748627841473,0.033409480005503,0.042250711470842,-0.016613043844700,0.013809295371175,0.223748728632927,0.017349984496832,-0.009837715886533,-0.017092352733016) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.246375218033791,0.016471128910780,0.242307424545288,0.227681592106819,0.143121987581253,0.008190583437681,-0.259456247091293,-0.213199332356453,-0.055259969085455,0.159454613924026,-0.173050031065941,-0.116473965346813,0.443394452333450,-0.044681668281555,-0.383785098791122,-0.395655333995819) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.283361256122589,-0.109293095767498,0.051815401762724,0.090094998478889,-0.110679730772972,0.023007106035948,-0.168430343270302,-0.152109876275063,0.024069994688034,0.018510360270739,0.068827137351036,0.040572293102741,0.004691359121352,0.034856885671616,-0.027889085933566,-0.058242771774530) * MODEL1_texOff(vec2(1,1));
res += mat4(0.074639305472374,0.108113318681717,-0.056460525840521,-0.079712018370628,-0.101189285516739,-0.018950739875436,-0.000623771396931,-0.037439431995153,-0.007488838862628,0.114985764026642,0.050143171101809,-0.076408669352531,-0.044608462601900,0.144181177020073,0.043834026902914,-0.065390400588512) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.004912011791021,-0.050528727471828,0.010503662750125,-0.069747224450111,-0.219283476471901,-0.082443296909332,0.456156402826309,0.061838358640671,-0.137764424085617,-0.042527709156275,0.301949471235275,-0.045596636831760,-0.150980249047279,-0.021403340622783,0.191540107131004,0.051096968352795) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.015560871921480,0.302709341049194,-0.087723523378372,-0.024139707908034,-0.105071470141411,0.056844547390938,0.032081592828035,0.032138954848051,-0.018309511244297,0.050711303949356,0.083939984440804,0.062661439180374,-0.073049157857895,-0.139486163854599,0.171401664614677,0.037917468696833) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.085803829133511,0.413241714239120,-0.023962860926986,0.036991082131863,0.052843339741230,-0.055475585162640,0.069993622601032,-0.198400422930717,0.233027204871178,0.332205355167389,-0.066200233995914,-0.138345196843147,0.123926736414433,0.275844484567642,-0.118659526109695,-0.131356924772263) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.028484700247645,-0.196743130683899,0.050046749413013,0.044076707214117,0.383613467216492,-0.038998432457447,-0.372129917144775,-0.678043246269226,0.514141917228699,-0.010182812809944,-0.318072378635406,-0.261342287063599,-0.054745826870203,0.141792774200439,0.203984797000885,-0.216573789715767) * MODEL2_texOff(vec2(0,0));
res += mat4(0.169052839279175,0.346801072359085,-0.026636835187674,0.040602244436741,-0.039002839475870,-0.065817601978779,0.062561616301537,-0.285260260105133,0.143405675888062,0.083104938268661,0.049459997564554,-0.114792525768280,0.113512232899666,-0.130273386836052,-0.101621240377426,-0.163266450166702) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.031349424272776,-0.097707398235798,0.027999509125948,-0.025299236178398,-0.016209177672863,-0.050545193254948,0.113757975399494,0.197523176670074,-0.317430406808853,0.044885504990816,0.128144279122353,0.143090322613716,-0.173857554793358,0.165945872664452,-0.091024786233902,-0.219593748450279) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.199043869972229,-0.042537633329630,-0.052823305130005,-0.054763801395893,0.346882909536362,0.010705251246691,0.256496340036392,0.743066549301147,-0.189500734210014,0.103290930390358,0.088536784052849,-0.039951723068953,0.247946500778198,0.160406216979027,-0.460439532995224,-0.640050053596497) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.150289356708527,0.156198322772980,-0.050639089196920,-0.053109638392925,0.118385128676891,-0.075296118855476,0.131615623831749,0.206979200243950,-0.078599348664284,0.066008284687996,0.017492640763521,-0.043664854019880,-0.170746073126793,0.180492863059044,-0.154595002532005,-0.266734391450882) * MODEL2_texOff(vec2(1,1));
res += mat4(0.099829606711864,-0.320761054754257,-0.257581353187561,-0.024072222411633,-0.198547333478928,0.060087900608778,0.205040499567986,0.100718021392822,0.023400764912367,0.154316812753677,-0.040260825306177,0.017262935638428,0.188942044973373,0.070982910692692,-0.047355048358440,0.029618304222822) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.071060404181480,-0.013510924763978,-0.089707516133785,-0.011030131950974,0.264255136251450,-0.127316921949387,-0.101470410823822,0.070830471813679,-0.129966869950294,-0.115375205874443,0.009779319167137,0.011014776304364,0.245287835597992,-0.028260987251997,-0.435855656862259,0.035649884492159) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.000388872053009,-0.123610921204090,0.116809740662575,0.069381840527058,0.159434407949448,0.090750940144062,-0.030534472316504,0.016490262001753,-0.017626032233238,0.103157438337803,-0.014711514115334,0.052189607173204,0.032288026064634,-0.032471943646669,-0.079201810061932,0.043580900877714) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.205867871642113,-0.092037424445152,0.124563090503216,0.107917778193951,0.164861038327217,-0.427903711795807,-0.284274637699127,-0.266922444105148,0.039734728634357,0.544635474681854,0.096335276961327,-0.048506427556276,-0.106985680758953,0.040039468556643,-0.038278944790363,0.037285793572664) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.207505211234093,-0.393793106079102,-0.041941002011299,0.077587991952896,-0.417751938104630,-0.223876595497131,0.097348332405090,0.009304842911661,0.252350002527237,-0.424144774675369,-0.154970675706863,-0.041810683906078,-0.417782038450241,0.042774289846420,-0.139959454536438,0.490535140037537) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.016172187402844,0.159728780388832,-0.203212976455688,-0.242620378732681,-0.202542275190353,0.153284326195717,0.014413656666875,0.070235989987850,-0.026803486049175,0.307739853858948,-0.003624946577474,-0.058333940804005,-0.151241093873978,0.031015358865261,-0.041166596114635,-0.046789351850748) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.011610045097768,0.215244695544243,-0.207252800464630,-0.208756595849991,-0.277076244354248,-0.142506942152977,0.155088618397713,0.085972703993320,-0.134962975978851,0.120302185416222,-0.078577548265457,-0.097638793289661,-0.378765970468521,-0.032796077430248,0.038071576505899,-0.087925866246223) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.228288888931274,-0.430765390396118,-0.104408949613571,-0.145558461546898,-0.045322272926569,-0.016646867617965,-0.080139890313148,-0.101059168577194,-0.115634903311729,-0.087570391595364,0.095667637884617,0.138233110308647,-0.474351137876511,0.030524676665664,0.267675697803497,0.330867081880569) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.165681168437004,0.103204436600208,0.195776924490929,0.026254815980792,0.143611595034599,-0.020945051684976,-0.098997503519058,-0.061826404184103,0.060270197689533,-0.097985006868839,-0.058590486645699,0.010032539255917,-0.095932029187679,0.022917786613107,-0.073143675923347,-0.071358419954777) * MODEL3_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.002374108647928,0.213781461119652,0.259110122919083,0.006704105995595) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE SUBCONV1
//!DESC (AU_F_4x_P) sup-pixel convolution 1

vec4 hook()
{
vec4 res = vec4(0.001087737618946,0.000186694029253,-0.000830084551126,0.000086282336270);
res += mat4(-0.007419803645462,-0.009816339239478,-0.005396097432822,-0.001737589598633,0.013113760389388,0.010718444362283,-0.000638500670902,-0.000291776290396,-0.036277461796999,0.009201761335135,0.018472885712981,0.004568593576550,-0.006506371777505,-0.005949473008513,-0.004421413410455,-0.001878910115920) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.003949438221753,0.009571563452482,0.007911955006421,0.002026887377724,0.019582802429795,-0.003602670039982,-0.025548689067364,-0.008125280961394,0.017564846202731,0.035468414425850,0.003847816726193,-0.048878356814384,-0.006455219350755,-0.004780913237482,-0.002237992361188,-0.003583108540624) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.003552235197276,-0.008476533927023,-0.013317692093551,-0.008957823738456,-0.003717079758644,-0.006300619337708,-0.003346021985635,0.010473067872226,-0.004628824070096,-0.001584012643434,0.000506438082084,0.003484008368105,-0.000209432881093,-0.003025599522516,-0.006517355795950,-0.007439374923706) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.002219299087301,-0.010158844292164,-0.010044462047517,-0.004929337184876,-0.026127539575100,-0.001200540573336,0.009474869817495,0.009387798607349,0.018185082823038,0.004228054545820,-0.004178388509899,-0.006684269290417,-0.005229152739048,-0.000035766111978,-0.000317326252116,-0.002495309105143) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.016229776665568,0.027491580694914,0.028692988678813,0.021033296361566,0.021435406059027,0.042207766324282,0.004055195022374,-0.033711601048708,-0.046702794730663,-0.021264467388391,0.029709866270423,0.034944448620081,-0.059051528573036,-0.068091616034508,-0.055642656981945,-0.030027274042368) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.002401692792773,-0.006538368761539,-0.010258979164064,-0.002779557136819,-0.000032845608075,-0.004369670990855,-0.018715864047408,-0.013852732256055,0.001587359467521,0.009101754985750,0.015762446448207,-0.010729582048953,-0.005538503173739,-0.007216905243695,-0.016942869871855,-0.037655968219042) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.005835189484060,-0.004806078039110,-0.002369433641434,0.000028690374165,-0.000562018831261,0.002944733249024,0.002030279953033,-0.000110641769425,-0.009413504973054,-0.006011425983161,-0.002908294089139,0.002074453979731,-0.003015852533281,0.001614405424334,-0.002115374663845,-0.005270804744214) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.006410576403141,-0.006806455552578,-0.007671386469156,-0.006895682774484,0.002065887209028,0.000012410523595,-0.005790349561721,-0.004510146100074,-0.001720429398119,0.011422862298787,0.008925293572247,-0.007348298095167,-0.043969959020615,-0.047068338841200,-0.033184159547091,-0.012378509156406) * MODEL4_texOff(vec2(1,0));
res += mat4(0.000853471341543,-0.000648628221825,-0.003747367532924,-0.005910356529057,0.006072271149606,0.003652553306893,-0.002530632307753,-0.003538499120623,-0.001796379103325,0.001467521185987,0.001518306788057,-0.004194512963295,0.000730132276658,-0.004557366948575,-0.014288912527263,-0.028163921087980) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.021836316213012,0.003360699396580,0.014568883925676,0.006867042277008,0.001160439918749,-0.022420160472393,-0.007186291273683,0.002384656574577,0.011093906126916,-0.004765908233821,-0.003796220524237,0.001004216144793,-0.017351794987917,-0.002867276081815,0.006243193522096,0.009144762530923) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.023268964141607,0.033880107104778,0.006380883976817,-0.025804340839386,-0.029913594946265,-0.018599515780807,0.025031885132194,0.039008688181639,-0.031414709985256,-0.025707812979817,0.010886915028095,0.027746204286814,0.025426488369703,0.012119799852371,-0.014965789392591,-0.029492009431124) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.004438295960426,-0.006261741276830,-0.009389312937856,0.000665406521875,0.005912566091865,0.006939804181457,0.001093379221857,-0.014642888680100,0.000098615644674,0.002386574866250,0.005140989087522,-0.007136355154216,-0.002965551801026,-0.000886230496690,0.006778963841498,0.017111603170633) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.022472793236375,0.012849762104452,-0.003433782141656,-0.003915297798812,0.010565913282335,-0.000572371238377,-0.003841933328658,-0.001439045998268,-0.035860437899828,-0.004279397893697,0.011955051682889,0.010556756518781,0.006339459214360,-0.011539335362613,-0.011589081026614,-0.003171721240506) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.019574835896492,-0.022007273510098,-0.035675857216120,0.000144293109770,0.037775456905365,-0.022410189732909,-0.039827633649111,-0.002144803991541,0.029759725555778,0.028588285669684,-0.013179648667574,-0.050984766334295,0.019810790196061,0.036811787635088,0.045352376997471,0.030945772305131) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.006995668169111,-0.012146402150393,-0.000031599116483,0.022670004516840,-0.009565047919750,-0.011742067523301,0.003386707510799,0.039258599281311,-0.001335495850071,-0.001206078915857,-0.003024775302038,0.007537700235844,0.002230138052255,-0.002019245643169,-0.004886875394732,0.003262964775786) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.001652342732996,-0.004415110219270,-0.003182518761605,-0.001421589404345,0.004693776369095,-0.000038290130760,-0.000011174649444,-0.003130519296974,0.000144305391586,0.002109577413648,0.002321604639292,-0.000585947535001,0.006989228073508,0.004073210991919,0.000619469967205,0.000577460858040) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.001680657151155,-0.001833227346651,0.000114628259325,0.000322905689245,-0.004307285416871,-0.007841185666621,0.002583712805063,0.009477554820478,-0.001820168923587,0.003347036661580,0.005450383294374,0.001213536714204,-0.006485426798463,-0.005983482580632,0.000642631144729,0.006082311272621) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.005680281668901,-0.001104051596485,0.005410637706518,0.006058333907276,-0.002110387198627,-0.005351126194000,-0.002109921304509,0.003378143534064,-0.001441881177016,-0.005489738192409,-0.004387834575027,-0.001892534783110,-0.000630104623269,-0.001429405878298,-0.000948258035351,-0.003021233016625) * MODEL5_texOff(vec2(1,1));
res += mat4(0.012506943196058,0.000881926331203,-0.008883115835488,-0.010531133040786,0.010991829447448,-0.001307926373556,-0.008331253193319,-0.005594066809863,0.007896239869297,0.002851897850633,0.001041008275934,0.000619490048848,0.018623040989041,0.009802176617086,0.007147420663387,0.006401473656297) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.047740560024977,-0.028181837871671,0.001319683389738,0.018473604694009,-0.003888416802511,-0.008147105574608,-0.002930915448815,0.010625454597175,0.022684307768941,0.023970050737262,0.019414838403463,0.014630263671279,0.053686484694481,0.065954059362411,0.059480749070644,0.041390549391508) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.006020671222359,-0.002602902241051,-0.022039175033569,-0.040219120681286,0.004612165968865,0.003586635226384,0.000232912876527,-0.001775765325874,-0.002851334633306,-0.001156794372946,0.003668779041618,0.012102431617677,0.002588036470115,0.004936141427606,0.011179438792169,0.026347659528255) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.011144888587296,0.001585469464771,-0.003496370278299,-0.003190091345459,0.020103385671973,-0.005526774097234,-0.016168033704162,-0.013518998399377,-0.018075885251164,-0.004133276175708,0.002610442927107,0.002830789657310,-0.007920097559690,-0.009052584879100,-0.004340249579400,0.001076864427887) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.012506056576967,0.021771587431431,0.027577742934227,0.024236423894763,-0.045777849853039,-0.012272462248802,0.030491407960653,0.041767634451389,-0.029414588585496,-0.045113284140825,-0.049946062266827,-0.039908610284328,0.013917971402407,0.021800026297569,0.014382736757398,-0.002506794640794) * MODEL6_texOff(vec2(0,0));
res += mat4(0.005093409679830,0.003984804265201,0.002615093952045,0.006408867426217,0.012444778345525,0.015868039801717,0.002907322952524,-0.031010782346129,0.002125538419932,0.002349550137296,0.000392929126974,-0.008995768614113,-0.003084246534854,-0.005771381314844,-0.004020385444164,0.004006163217127) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.008108394220471,-0.004345175810158,-0.000672477704939,0.000946627347730,-0.001361091737635,0.000388529646443,0.001417668536305,0.002952970331535,0.009184263646603,0.004671375267208,0.000572647200897,-0.002500300062820,-0.000927690649405,-0.000411005516071,0.000505518226419,0.000200112772291) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.005749984178692,-0.006144241895527,-0.008052207529545,-0.008870454505086,-0.002068873494864,0.000292892480502,0.000063370156568,-0.000111667985038,0.016729481518269,0.016144944354892,0.015303568914533,0.014507438056171,-0.002329232171178,-0.000426304002758,0.000553752121050,0.001096601132303) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.002004750771448,-0.002421748358756,-0.004004642833024,-0.006984406616539,0.001026417943649,0.003687470452860,0.001294491696171,-0.002954731462523,-0.006458385381848,-0.002923696767539,0.003673464758322,0.009375544264913,0.004557719919831,0.002435150323436,-0.001211583032273,-0.002594978315756) * MODEL6_texOff(vec2(1,1));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE SUBCONV2
//!DESC (AU_F_4x_P) sup-pixel convolution 2

vec4 hook()
{
vec4 res = vec4(0.000584799970966,-0.000530235760380,-0.001547880470753,-0.000377757271053);
res += mat4(-0.010606870986521,-0.008942953310907,-0.003670677542686,-0.000414284499129,0.008620801381767,0.003050349419937,-0.004893573001027,-0.003622694406658,-0.010979663580656,0.008993943221867,0.011331268586218,0.002928608097136,-0.002474593231454,-0.000796482141595,0.000403962825658,0.000637731631286) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.006680396851152,-0.005253973882645,-0.006231589708477,-0.007615690119565,0.001824674080126,-0.003484963439405,-0.008422704413533,-0.000006135174772,0.012956959195435,0.011806329712272,-0.001669046119787,-0.018531396985054,-0.002305399626493,-0.003766728332266,-0.003237834665924,-0.002623922890052) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.000889913004357,-0.005007932428271,-0.010884485207498,-0.011417164467275,-0.001165268011391,-0.002373501425609,-0.002484972123057,-0.000379220000468,-0.006690471433103,-0.005274533294141,-0.000917858968023,0.007647804450244,-0.000699875527062,-0.000853103003465,-0.001900280825794,-0.002937088022009) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.009436110965908,-0.006443923339248,-0.006842755712569,-0.002510190708563,-0.023279411718249,0.009905606508255,0.013680871576071,0.009578119032085,-0.011253137141466,-0.001402875990607,0.004877886734903,0.001378464163281,0.005654281470925,-0.000740669842344,-0.005385418888181,-0.003855154849589) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.033209979534149,0.047750584781170,0.047078590840101,0.034712702035904,0.044297333806753,0.049209699034691,-0.017718508839607,-0.052626434713602,-0.058280277997255,-0.006862493697554,0.048366341739893,0.016918305307627,-0.027444127947092,-0.023851618170738,-0.012377034872770,-0.001702081994154) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.002223502611741,-0.005008801817894,-0.006293913815171,0.006375237368047,-0.002158489311114,-0.006884533446282,-0.020466210320592,-0.005378304049373,0.000153767221491,0.010280966758728,0.016422480344772,-0.019776511937380,0.005587483756244,0.004719595424831,0.000208621204365,-0.010696607641876) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.009261424653232,-0.006871084682643,-0.003218635218218,-0.000220161746256,0.001651403261349,0.002841844456270,0.001067642122507,-0.001364623429254,-0.008598482236266,-0.003203958040103,-0.003379612229764,-0.000789294950664,0.007225445471704,0.009070502594113,0.002269188873470,-0.004795119166374) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.012098019942641,-0.012155447155237,-0.012747607193887,-0.011297597549856,-0.000168528989889,-0.001792320748791,-0.004508886951953,-0.001021698466502,0.001582458033226,0.013020236045122,0.003116385312751,-0.012866059318185,-0.011311289854348,-0.018604325130582,-0.010309990495443,0.007007387001067) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.000514105369803,-0.003040705807507,-0.008451260626316,-0.012077518738806,0.007271667476743,0.005521390121430,-0.000941657694057,-0.003393843770027,-0.001074954634532,0.002866118447855,0.003105567768216,-0.002333305077627,0.007466669660062,0.007027680985630,0.002459520474076,-0.003877363633364) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.008372462354600,-0.002361060585827,0.004238975234330,0.003698116168380,-0.006743285339326,-0.011350668966770,-0.000346900313161,0.002926834626123,-0.000018913891836,-0.006037724670023,-0.004343605600297,-0.000703292258549,-0.004478092771024,-0.003659573616460,-0.001631330465898,0.001014550216496) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.000614653225057,0.008213363587856,0.007057747803628,-0.003429336007684,-0.008409983478487,-0.000291779608233,0.009688831865788,0.007872477173805,-0.007102673407644,-0.012193599715829,-0.002081261714920,0.005295968148857,0.017283169552684,0.018947444856167,0.009398372843862,-0.002838645596057) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.001659886213019,-0.000754633336328,-0.001672900398262,-0.002369217807427,0.003426567884162,0.004769997671247,0.000402399135055,-0.007513308897614,0.000374975759769,-0.000106408617285,0.002353932941332,0.001484694192186,-0.003786290762946,-0.003220198210329,0.000675133953337,0.009436692111194) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.010031446814537,0.016919303685427,0.004014903679490,0.000566529692151,0.029073931276798,-0.011155146174133,-0.013675300404429,-0.004023210145533,-0.037833329290152,-0.008506094105542,0.008978726342320,0.006777329836041,0.036967497318983,0.007595333736390,-0.007703311741352,-0.006994959432632) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.043785538524389,-0.002607545815408,-0.045104052871466,-0.025528848171234,0.020634351298213,-0.044384308159351,-0.028767820447683,0.038427591323853,0.013780308887362,0.036760136485100,0.011371635831892,-0.038068614900112,-0.014883337542415,0.006145501509309,0.042229175567627,0.059236731380224) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.010693552903831,-0.018438881263137,-0.006600137799978,0.029408007860184,-0.005715388339013,-0.010243665426970,0.002824181923643,0.034586276859045,0.001571060391143,0.003269566688687,-0.003574506845325,-0.006433323957026,0.009455444291234,0.006006139330566,-0.005939654540271,-0.015416713431478) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.000217856315430,-0.004599449224770,-0.002033951459453,0.000044866330427,-0.000731747481041,0.000181812851224,0.003321874653921,0.000243504589889,0.001275602728128,0.001527286949567,0.001298717223108,-0.000560109852813,0.004146694671363,0.006895918399096,0.005288670770824,0.003736873390153) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.000536516017746,-0.003661254420877,0.003154356963933,0.005350030492991,-0.003174252575263,-0.005757036153227,0.003589884145185,0.005164887756109,-0.003428369294852,-0.001536817289889,0.002383755985647,0.002714823465794,-0.003352903528139,-0.008568919263780,-0.007339719217271,-0.001695746672340) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.007128959987313,-0.002444701036438,0.005303045734763,0.006142958067358,-0.004062346182764,-0.007313539739698,-0.003656848100945,0.002986836247146,-0.002270446158946,-0.007821529172361,-0.005453146994114,-0.000887929752935,0.001993970712647,-0.000687449006364,-0.001111528254114,-0.000693758716807) * MODEL5_texOff(vec2(1,1));
res += mat4(0.013836641795933,0.005050037521869,0.000318642996717,-0.000779741501901,0.004909882321954,-0.000882322026882,-0.004384420812130,-0.002885645721108,0.000405238679377,0.000721674121451,0.001324674347416,0.002055787947029,-0.016828346997499,-0.000930429436266,0.008677946403623,0.007550585083663) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.012265224941075,0.025687063112855,0.032134834676981,0.028290936723351,-0.002390128793195,-0.003706398420036,-0.002523489762098,0.003488325979561,0.002601777436212,0.000637519173324,-0.001020142226480,-0.000620501989033,0.008247346617281,-0.007897382602096,-0.024290187284350,-0.027658026665449) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.001365453936160,-0.001502158469521,-0.003181335749105,-0.000932688417379,0.002267575124279,0.000918165897019,-0.002202970441431,-0.002168942242861,-0.000702888413798,-0.000483771611471,-0.000245662871748,0.001290642772801,-0.003564984537661,0.001640206319280,0.005224158521742,0.007043928373605) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.000460164796095,-0.002145866863430,-0.000433478184277,0.003718472551554,0.024356182664633,-0.006076313555241,-0.017190013080835,-0.012759465724230,-0.005744294729084,-0.006878368090838,-0.006026286631823,-0.004385693930089,-0.023547539487481,-0.010186665691435,0.000222198621486,0.003786882385612) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.034139111638069,0.038435142487288,0.028741477057338,0.010080251842737,-0.047213438898325,-0.017494900152087,0.029868816956878,0.047635436058044,-0.011774566955864,-0.011870271526277,-0.011040089651942,-0.008031509816647,-0.024343622848392,-0.031353130936623,-0.037704419344664,-0.039120778441429) * MODEL6_texOff(vec2(0,0));
res += mat4(0.000254760583630,0.000451833824627,0.006725062616169,0.020940637215972,0.014332447201014,0.019365752115846,0.007919743657112,-0.028080312535167,0.000015284851543,-0.002320399275050,-0.004665963351727,-0.007409645710140,-0.001263124402612,-0.002649500500411,-0.004305153153837,-0.010235456749797) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.007429951336235,-0.003690893296152,-0.001050058868714,0.000146295831655,0.000841360539198,0.001354796113446,0.000147287981235,0.001019819290377,0.007266009692103,0.000060597729316,-0.002535440726206,-0.002371212001890,0.001476068748161,0.001308170729317,0.001260124845430,0.000340577331372) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.008083875291049,-0.008012452162802,-0.008736023679376,-0.008750802837312,-0.002617349382490,0.000383549311664,0.000112638845167,0.000487375480589,0.017788408324122,0.022245857864618,0.022397195920348,0.017718166112900,-0.000648601271678,-0.000346196844475,0.000610611808952,0.002122409874573) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.002235585357994,-0.002736922819167,-0.004828353878111,-0.008926895447075,0.002384478691965,0.005083599593490,0.001576627139002,-0.004320790525526,-0.005325843580067,-0.004122326150537,0.000377438933356,0.007022569421679,0.003387958509848,0.003032836131752,0.000471226172522,-0.000970150693320) * MODEL6_texOff(vec2(1,1));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE SUBCONV3
//!DESC (AU_F_4x_P) sup-pixel convolution 3

vec4 hook()
{
vec4 res = vec4(0.000986639061011,0.000222484319238,-0.001057362882420,-0.000230183883104);
res += mat4(-0.009910343214869,-0.006462653633207,-0.001834974391386,0.000009059431250,0.002229458186775,-0.000229320561630,-0.005676859058440,-0.005818389821798,-0.002125499770045,0.006190839689225,0.008609092794359,0.003116830950603,0.000652902235743,0.002172355540097,0.003257160540670,0.002197094494477) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.008183596655726,-0.008666057139635,-0.009973403997719,-0.010280018672347,-0.002833681413904,0.003721218788996,0.002404800150543,-0.000206651267945,0.004121034871787,0.001550271874294,0.003644531592727,0.000142356453580,0.004176059737802,0.002558610169217,0.001589612918906,0.001015743124299) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.000821498455480,-0.002584473928437,-0.007793921045959,-0.009621763601899,0.000407660234487,0.000472090410767,-0.001323842676356,-0.005446164868772,-0.003704625880346,-0.006959018763155,-0.005185966845602,0.003614833345637,0.000514453509822,0.001558484393172,0.001933942898177,0.002749052830040) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.005631776992232,-0.008494724519551,-0.007692076265812,-0.003773255506530,-0.003726827446371,0.019882975146174,0.011683995835483,0.006244269199669,-0.048454288393259,-0.001518391189165,0.017192777246237,0.007236198987812,0.008661123923957,-0.000867715978529,-0.004210093058646,-0.000968277570792) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.034919910132885,0.048174645751715,0.044146951287985,0.029588829725981,0.053232423961163,0.029510127380490,-0.041689455509186,-0.048551987856627,-0.035596270114183,0.030781602486968,0.047761376947165,-0.031820710748434,0.024871652945876,0.030819550156593,0.025510579347610,0.015115092508495) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.002804601565003,-0.006080142688006,-0.007647357415408,0.006407295819372,-0.006086218636483,-0.008731575682759,-0.013202807866037,0.010582114569843,-0.001327750971541,0.008221236988902,0.009938108734787,-0.021246945485473,0.002076423726976,0.003446513554081,0.010947374626994,0.020193694159389) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.009695134125650,-0.009044514037669,-0.005638051778078,-0.002298099687323,-0.000591531628743,-0.000572352204472,-0.000011182695744,-0.000438552757259,0.003296451643109,0.004566799383610,-0.003167774761096,-0.004504343029112,0.008187456056476,0.002019607927650,0.001146793598309,0.001586630125530) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.011560959741473,-0.009695245884359,-0.010086608119309,-0.009629405103624,-0.002776270965114,0.001711632357910,0.001891131047159,0.001779545331374,-0.000819214095827,0.004887931980193,-0.001290794461966,-0.005803561303765,0.070444017648697,0.072853356599808,0.054638687521219,0.031424354761839) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.001307285274379,-0.004941234830767,-0.012198938056827,-0.015277833677828,0.004047040361911,0.003710180521011,-0.002327602589503,-0.006010241340846,-0.000644892163109,0.002810904989019,0.005115386564285,-0.000624483451247,0.002630312694237,0.006713596172631,0.019736031070352,0.042821004986763) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.000038415713789,-0.002953672781587,0.000002578199656,0.001810504938476,-0.002528656972572,-0.004225877113640,0.000520993897226,0.003247779561207,-0.002771152183414,-0.005894917994738,-0.006157316267490,-0.000940294004977,0.005075252614915,0.001038171350956,-0.000391334295273,-0.000226538104471) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.008241440169513,-0.006328613962978,0.000596413563471,0.003974580205977,0.005688056349754,0.001858920091763,-0.005634217057377,-0.003970385529101,0.007836528122425,0.001654541003518,-0.001790482667275,-0.002446191851050,0.002714943839237,0.007972456514835,0.010961262509227,0.008615182712674) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.000258767482592,0.001507943728939,0.001393617480062,-0.001657822169363,0.002136557828635,0.004742063581944,0.002460635034367,0.000767444318626,0.001157120568678,0.001133055891842,0.002633300377056,0.005361662246287,-0.002663275459781,-0.003607060294598,-0.003895265515894,-0.000616724952124) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.018513781949878,0.014003761112690,0.014487987384200,0.006086317356676,0.031730882823467,-0.025671124458313,-0.019271519035101,-0.003192317206413,-0.009809904731810,-0.007693135179579,0.001675710431300,0.003480100538582,0.011712130159140,0.004709051921964,-0.002932526869699,-0.003964726347476) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.058865606784821,0.031963221728802,-0.032800961285830,-0.052531950175762,-0.014680776745081,-0.052088133990765,0.006280466448516,0.075270734727383,-0.021416813135147,0.014499495737255,0.036551631987095,0.010960724204779,-0.033879362046719,-0.040896281599998,-0.023610293865204,0.003646221477538) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.009262184612453,-0.018071258440614,-0.014596205204725,0.022437945008278,0.003031342057511,-0.001491333474405,0.003262844402343,0.012829881161451,0.002563273767009,0.007765377871692,0.003084265394136,-0.015982521697879,0.003994292579591,0.004558203276247,-0.004614171572030,-0.019514147192240) * MODEL5_texOff(vec2(0,1));
res += mat4(0.004892626777291,-0.001711204065941,-0.001479525351897,0.000265253358521,-0.006383064202964,0.001306680147536,0.007194757927209,0.004653904121369,0.002467256272212,0.003089939244092,0.003554467344657,0.002889089519158,-0.016333069652319,-0.001947778509930,0.006887495052069,0.007456459105015) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.000377873511752,-0.007477320265025,-0.000232587030041,0.008563279174268,0.008234268054366,-0.002531586680561,-0.005054864101112,-0.006549654528499,0.004439704120159,-0.001112242229283,-0.002748311730102,-0.000219691588427,0.011301538906991,-0.001656856155023,-0.019103871658444,-0.026917280629277) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.004497546236962,-0.003238106844947,0.003207925707102,0.006714207585901,-0.004441960249096,-0.007378594949841,-0.003413018770516,0.008892441168427,-0.002376915188506,-0.005488422699273,-0.000724083976820,0.007036839146167,0.000917537079658,-0.001281847013161,0.000568769057281,0.008334717713296) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.001381418434903,0.000890484196134,0.003407630603760,0.003079099580646,0.002218278124928,-0.000225647410844,-0.001386586111039,-0.001285725506023,-0.005321254022419,-0.001352278515697,0.000994392205030,0.001754157128744,-0.020211024209857,-0.006416389252990,0.001207978348248,0.001862382749096) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.029393427073956,0.022907407954335,0.011172026395798,0.004226071294397,-0.004649285692722,-0.003122202120721,-0.000476328743389,0.002071440452710,-0.012910876423120,-0.015766894444823,-0.014909875579178,-0.010872885584831,-0.022639369592071,-0.031994163990021,-0.034914694726467,-0.032374452799559) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.001843140111305,0.004289084114134,0.014421403408051,0.020594552159309,-0.001219901721925,-0.001025475328788,-0.001596238464117,-0.002322352956980,0.001689746975899,0.000148881226778,-0.003635128727183,-0.007871272042394,-0.002999278716743,-0.003748938441277,-0.008314406499267,-0.014166642911732) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.008915008045733,-0.002416549017653,0.001238375320099,0.003765854984522,0.024303287267685,-0.004388273693621,-0.015879094600677,-0.010980588383973,0.010854821652174,-0.001396345556714,-0.005998434033245,-0.005775860510767,-0.006842543371022,-0.001213881070726,0.000703945930582,0.000019607316062) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.002025309717283,-0.007156393025070,-0.016125485301018,-0.020070157945156,-0.035268798470497,-0.020575784146786,0.015657640993595,0.039217792451382,0.012692431919277,0.023452891036868,0.026657432317734,0.023158762603998,-0.044000104069710,-0.047913942486048,-0.035475600510836,-0.018935941159725) * MODEL6_texOff(vec2(0,0));
res += mat4(0.000820976099931,0.004147125873715,0.007360858842731,0.009283849038184,0.012210354208946,0.015851136296988,0.007852467708290,-0.018007289618254,-0.000992190558463,-0.003401155350730,-0.004172250628471,0.001535691902973,0.006000793073326,0.005200638901442,-0.003863235935569,-0.021613122895360) * MODEL6_texOff(vec2(0,1));
res += mat4(0.003612119471654,0.003112033009529,0.000413603207562,-0.001380343106575,0.003457453800365,-0.000060701739130,-0.004380896687508,-0.004651044495404,-0.002877413993701,-0.002730655251071,-0.000594993412960,0.001134751830250,0.006237864028662,0.002450120868161,0.000944781233557,0.000292627722956) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.008148730732501,-0.007141765207052,-0.002953313756734,0.001832410576753,-0.010225947014987,-0.001579868374392,0.004437753465027,0.005309488158673,0.000017042209947,0.002015327801928,0.001508691930212,-0.001013047643937,0.005331786349416,0.006867490708828,0.007866176776588,0.007758116815239) * MODEL6_texOff(vec2(1,0));
res += mat4(0.000694803195074,0.001228649518453,-0.000301188701997,-0.005034502595663,0.002751542255282,0.004580980632454,-0.000208138240851,-0.009848994202912,-0.000887727190275,-0.001785455620848,-0.001913890591823,-0.001376730855554,0.000055107851949,0.000743766722735,0.000386584375519,0.001607498852536) * MODEL6_texOff(vec2(1,1));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!COMPONENTS 4
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE SUBCONV4
//!DESC (AU_F_4x_P) sup-pixel convolution 4

vec4 hook()
{
vec4 res = vec4(0.001291313557886,0.000884556386154,-0.000414698355598,0.000009801625311);
res += mat4(-0.005954808555543,-0.003045638091862,-0.000131085107569,0.000138963689096,0.000295510457363,0.000556631188374,-0.004035773221403,-0.005266832187772,-0.004574622493237,0.003381002694368,0.008450007066131,0.003305006073788,0.001357784960419,0.001171968993731,0.002035960322246,0.001923383679241) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.004217121284455,-0.004297771025449,-0.005581766832620,-0.006478030700237,0.001006828038953,0.008259500376880,0.004438402596861,-0.001781247905456,-0.001687088981271,0.003698510117829,0.009934713132679,0.002613165415823,0.006005864590406,0.005932327359915,0.005693675484508,0.003977636341006) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.001537102391012,-0.000950120331254,-0.004398779943585,-0.005539508070797,0.000713356188498,0.001160928164609,-0.000594158598687,-0.003645892720670,0.000254600454355,-0.005927687976509,-0.007102842908353,-0.002307004993781,0.002397094154730,0.003470606869087,0.003298150142655,0.004481396637857) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.002627215581015,-0.011254914104939,-0.008600847795606,-0.004468575585634,0.011812960729003,0.020112831145525,0.006051127333194,0.002352943876758,-0.060213603079319,0.001479684258811,0.020397925749421,0.007175591774285,0.001469243667088,-0.001337766647339,-0.003013843903318,-0.002058473881334) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.020989123731852,0.031262509524822,0.026805900037289,0.014372834004462,0.042975895106792,0.004694362170994,-0.046304423362017,-0.028708184137940,0.001605457277037,0.052606936544180,0.026425534859300,-0.063430584967136,0.017899457365274,0.016992358490825,0.010113543830812,0.004505041055381) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.004353729542345,-0.009364988654852,-0.012843816541135,-0.002183695090935,-0.006818393245339,-0.007730801124126,-0.002958473982289,0.020168747752905,-0.003499175887555,0.001622289419174,0.001932149985805,-0.008930927142501,-0.004439372103661,-0.003824557876214,0.001748460344970,0.010264582000673) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.006858599372208,-0.011934803798795,-0.010124977678061,-0.005557620432228,-0.011133667081594,-0.002669297158718,0.003567395964637,0.003682303940877,0.016610031947494,0.007424178067595,-0.003470425028354,-0.005919611547142,-0.002779313363135,-0.001651123398915,0.001911879982799,0.002946922788396) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.002418507123366,0.003632862353697,0.004124893341213,0.001163739594631,0.002320881001651,0.016835855320096,0.008169110864401,-0.007210924290121,-0.018210554495454,-0.010280011221766,0.006512392312288,0.014227881096303,0.024161314591765,0.021110845729709,0.007366623263806,-0.002255114726722) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.001484853331931,-0.006057704333216,-0.012830932624638,-0.012270151637495,0.000417364499299,-0.000379183475161,-0.009939626790583,-0.012003513984382,0.000479487673147,0.005235413089395,0.009723894298077,-0.003836937947199,-0.010592569597065,-0.008692352101207,-0.001863951561972,0.007839074358344) * MODEL4_texOff(vec2(1,1));
res += mat4(0.001272170455195,0.000700558361132,0.001719466759823,0.001400107285008,0.002540863584727,-0.003331457497552,-0.001700098277070,0.002955667441711,-0.000813016376924,-0.005501446314156,-0.006686966400594,-0.000523021328263,0.005548871587962,0.003398544620723,0.002361302729696,0.001535539980978) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.003943021409214,-0.005691795144230,-0.003840472782031,0.000424960540840,0.006297510582954,-0.004823891911656,-0.009996796958148,-0.001141957589425,0.007043479941785,0.003898231778294,0.001283322111703,-0.000654540257528,-0.000775434426032,0.002748159924522,0.005747871473432,0.006230029743165) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.002253517974168,0.002236149273813,0.001275852322578,-0.000148179809912,0.001206538872793,0.005094091407955,0.004723978694528,0.004651096183807,0.000403898768127,0.001737963291816,0.002986004343256,0.003404274582863,-0.000831470882986,-0.002686812542379,-0.004356400109828,-0.002985830884427) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.035047065466642,0.006372692994773,0.019404511898756,0.009689336642623,0.019230719655752,-0.029364969581366,-0.015796473249793,-0.000328361435095,0.015805028378963,-0.004353740252554,-0.004171027336270,0.000354031304596,-0.018290646374226,-0.000821217661723,0.006388532929122,0.007142609450966) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.050560802221298,0.050078399479389,-0.008414829149842,-0.053955044597387,-0.039049778133631,-0.041398879140615,0.029437225311995,0.073999501764774,-0.043302822858095,-0.017784308642149,0.033554919064045,0.041814967989922,-0.001198710058816,-0.028387058526278,-0.049046222120523,-0.043117854744196) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.006595443934202,-0.013494086451828,-0.017380883917212,0.008288023062050,0.008190754801035,0.005866331048310,0.001209766138345,-0.011104881763458,0.000845713715535,0.007399805355817,0.007644744589925,-0.015612618066370,-0.004259862937033,0.000068239947723,0.003939170390368,0.003367477795109) * MODEL5_texOff(vec2(0,1));
res += mat4(0.013385908678174,0.003775291144848,-0.003367477562279,-0.002392770722508,-0.005666872486472,0.000166974452441,0.003531465074047,0.003010289976373,-0.009268334135413,0.003860786324367,0.009864949621260,0.008669843897223,-0.027012189850211,-0.018198104575276,-0.003905162215233,0.002790019381791) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.003268076339737,-0.016455922275782,-0.014136578887701,0.007732436526567,0.025424316525459,-0.004931237548590,-0.021538916975260,-0.014632844366133,0.019707705825567,0.008411071263254,-0.011947340331972,-0.020448852330446,0.024135714396834,0.018525699153543,-0.002189910039306,-0.024902526289225) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.003951488994062,-0.007288206368685,0.000413362111431,0.011297325603664,-0.004843451082706,-0.008500008843839,-0.000462885043817,0.023349124938250,-0.001612893189304,-0.001941903610714,0.002292972290888,0.013592956587672,-0.005232533905655,-0.006840490270406,-0.002384430030361,0.011972254142165) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.008359817788005,-0.004718694370240,-0.001984235830605,-0.000938346958719,0.002842430258170,0.001587569480762,0.000712658860721,-0.000280862848740,-0.005493140779436,-0.001450336421840,0.001138222170994,0.001787246786989,-0.005854013375938,-0.007056863047183,-0.005409561097622,-0.002209906699136) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.009019439108670,0.000029788619941,-0.006183343008161,-0.006888538599014,-0.003980570938438,-0.003002324374393,0.000691830879077,0.003493062686175,-0.012943919748068,-0.014221531338990,-0.013169381767511,-0.010782988741994,-0.011130427010357,-0.001981443958357,0.004249708261341,-0.000681432604324) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.000677514821291,0.005654305685312,0.011482043191791,0.010130737908185,-0.002631635172293,-0.001498657278717,0.000620816659648,0.000152957101818,0.002552345860749,0.000447446276667,-0.003517354140058,-0.007884344086051,0.001166294561699,-0.004359172657132,-0.009890122339129,-0.010758313350379) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.003286337014288,-0.003297998104244,-0.008106824010611,-0.009140156209469,0.018794579431415,-0.001988363917917,-0.012401334010065,-0.008355465717614,0.017285326495767,0.006980876903981,0.001913118176162,-0.000735272536986,0.026147753000259,0.009413766674697,0.000371963920770,-0.000950554385781) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.058775920420885,-0.059890158474445,-0.041286520659924,-0.018430477008224,-0.018172701820731,-0.016366133466363,0.002372133778408,0.024154487997293,0.027404334396124,0.034164678305387,0.032522428780794,0.027966393157840,0.018694391474128,0.038064230233431,0.053080964833498,0.050477657467127) * MODEL6_texOff(vec2(0,0));
res += mat4(0.003770116949454,0.001993804005906,-0.012399920262396,-0.033418662846088,0.008930286392570,0.009915654547513,0.004414919763803,-0.008600898087025,-0.001350666512735,-0.000647706503514,0.003345459466800,0.013755274005234,0.008172699250281,0.007148128002882,0.003635750385001,0.004601609893143) * MODEL6_texOff(vec2(0,1));
res += mat4(0.014528054744005,0.007235092110932,-0.000586275069509,-0.003731523407623,0.009556576609612,-0.003853706875816,-0.011606537736952,-0.010996741242707,-0.013568320311606,0.000043035295676,0.007108879741281,0.007550328504294,0.004358237143606,-0.003436700440943,-0.004483730066568,-0.001718581421301) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.000377757591195,0.002591713098809,0.010263692587614,0.016712259501219,-0.026919402182102,-0.005782198626548,0.016176909208298,0.020077180117369,-0.023546405136585,-0.035382505506277,-0.039830699563026,-0.033260475844145,0.007101899478585,0.016701782122254,0.018999578431249,0.012318130582571) * MODEL6_texOff(vec2(1,0));
res += mat4(0.005154049023986,0.006895705126226,0.006837418768555,0.004150584805757,0.004910815507174,0.007659022696316,-0.000755403947551,-0.020503493025899,0.003854698501527,0.004011310171336,0.001697857864201,-0.006313626188785,-0.002340645063668,-0.004674924537539,-0.006007536314428,-0.001849537133239) * MODEL6_texOff(vec2(1,1));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w / 3.200 > OUTPUT.h LUMA.h / 3.200 > *
//!WIDTH LUMA.w 4 *
//!HEIGHT LUMA.h 4 *
//!BIND SUBCONV1
//!BIND SUBCONV2
//!BIND SUBCONV3
//!BIND SUBCONV4
//!BIND LANCZOS3
//!DESC (AU_F_4x_P) depth to space

vec4 hook()
{
vec2 fcoord = fract(SUBCONV1_pos * SUBCONV1_size);
vec2 base = SUBCONV1_pos + (vec2(0.5) - fcoord) * SUBCONV1_pt;
ivec2 index = ivec2(fcoord * vec2(4));
mat4 res = mat4(SUBCONV1_tex(base),SUBCONV2_tex(base),SUBCONV3_tex(base),SUBCONV4_tex(base));
return vec4(res[index.x][index.y] + float(LANCZOS3_texOff(0)), 0, 0, 1);
}
